Lines Matching refs:targetClass
804 CompositeMapping(Class<?> targetClass,
809 super(targetClass, compositeType);
853 Class<?> targetClass = (Class<?>) getJavaType();
859 new CompositeBuilderViaFrom(targetClass, itemNames),
862 new CompositeBuilderViaConstructor(targetClass, itemNames),
865 new CompositeBuilderCheckGetters(targetClass, itemNames,
867 new CompositeBuilderViaSetters(targetClass, itemNames),
868 new CompositeBuilderViaProxy(targetClass, itemNames),
900 "Do not know how to make a " + targetClass.getName() +
929 /** Converts from a CompositeData to an instance of the targetClass. */
931 CompositeBuilder(Class<?> targetClass, String[] itemNames) {
932 this.targetClass = targetClass;
937 return targetClass;
944 /** If the subclass is appropriate for targetClass, then the
967 private final Class<?> targetClass;
976 CompositeBuilderViaFrom(Class<?> targetClass, String[] itemNames) {
977 super(targetClass, itemNames);
983 Class<?> targetClass = getTargetClass();
986 targetClass.getMethod("from", CompositeData.class);
998 " not " + typeName(targetClass);
1029 chance of success. If any getter in the targetClass returns
1038 CompositeBuilderCheckGetters(Class<?> targetClass, String[] itemNames,
1040 super(targetClass, itemNames);
1075 CompositeBuilderViaSetters(Class<?> targetClass, String[] itemNames) {
1076 super(targetClass, itemNames);
1113 final Class<?> targetClass = getTargetClass();
1114 ReflectUtil.checkPackageAccess(targetClass);
1115 o = targetClass.newInstance();
1139 CompositeBuilderViaConstructor(Class<?> targetClass, String[] itemNames) {
1140 super(targetClass, itemNames);
1147 Class<?> targetClass = getTargetClass();
1148 Constructor<?>[] constrs = targetClass.getConstructors();
1367 CompositeBuilderViaProxy(Class<?> targetClass, String[] itemNames) {
1368 super(targetClass, itemNames);
1372 Class<?> targetClass = getTargetClass();
1373 if (!targetClass.isInterface())
1376 newSet(Arrays.asList(targetClass.getMethods()));
1405 final Class<?> targetClass = getTargetClass();
1407 Proxy.newProxyInstance(targetClass.getClassLoader(),
1408 new Class<?>[] {targetClass},