@Override public void onAttach(Class<?> aContainerType, ReflectorFactory aReflector, ConverterRegistry aConverters) { aReflector.prepare(aContainerType, aName, aType); }
@Override public void onAttach(Class<?> aContainerType, ReflectorFactory aReflector, ConverterRegistry aConverters) { aReflector.prepare(aContainerType, Name.MISSING, aType); }
@Override public void onAttach(Class<?> aContainerType, ReflectorFactory aReflector, ConverterRegistry aConverters) { aReflector.prepare(aContainerType, Name.MISSING, aType); }
@Override public void onAttach(Class<?> aContainerType, ReflectorFactory aReflector, ConverterRegistry aConverters) { if (type == null) type = (Class<R>)ReflectorFactory.getExpectedType(aContainerType, aName); converter = getConverter(Boolean.class, type); aReflector.prepare(aContainerType, aName, type); }
public void onAttach(Class<?> aContainerType, ReflectorFactory aReflector, ConverterRegistry aConverters) { Content<?> _def = JsonDocumentDefinition.firstNonNull(obj, property, array); if (type.isInterface()) { intermediate = ArrayList.class; converter = aConverters.getConverter(ArrayList.class, type); aReflector.prepare(aContainerType, name, intermediate); _def.onAttach(intermediate, reflector, aConverters); } else { Class<?> _type = ReflectorFactory.maybeConvertToProxy(type); aReflector.prepare(aContainerType, name, _type); _def.onAttach(_type, reflector, aConverters); } }
public void onAttach(Class<?> aContainerType, ReflectorFactory aReflector, ConverterRegistry aConverters) { if ((intermediate != null) && (converter == null)) converter = (Converter<?,R>)aConverters.getConverter(intermediate, type); Class<?> _attachTo = ReflectorFactory.maybeConvertToProxy((intermediate != null) ? intermediate : type); for (Content _c : content) _c.onAttach(_attachTo, reflector, aConverters); aReflector.prepare(aContainerType, name, _attachTo); }