public FieldProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) { super(name, type, typeDeser, contextAnnotations); _annotated = field; _field = field.getAnnotated(); }
@Override public boolean isFieldVisible(AnnotatedField f) { return isFieldVisible(f.getAnnotated()); }
public FieldProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) { super(name, type, typeDeser, contextAnnotations); _annotated = field; _field = field.getAnnotated(); }
if (am instanceof AnnotatedField) { m = null; f = ((AnnotatedField) am).getAnnotated(); } else { m = ((AnnotatedMethod) am).getAnnotated();
@Override public boolean isFieldVisible(AnnotatedField f) { return isFieldVisible(f.getAnnotated()); }
public FieldProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) { super(name, type, typeDeser, contextAnnotations); _annotated = field; _field = field.getAnnotated(); }
public FieldProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) { super(name, type, typeDeser, contextAnnotations); _annotated = field; _field = field.getAnnotated(); }
public FieldProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) { super(name, type, typeDeser, contextAnnotations); _annotated = field; _field = field.getAnnotated(); }
if (am instanceof AnnotatedField) { m = null; f = ((AnnotatedField) am).getAnnotated(); } else { m = ((AnnotatedMethod) am).getAnnotated();
@Override public boolean isFieldVisible(AnnotatedField f) { return isFieldVisible(f.getAnnotated()); }
@Override public boolean isFieldVisible(AnnotatedField f) { return isFieldVisible(f.getAnnotated()); }
/** * Factory method for constructor a {@link BeanPropertyWriter} * that uses specified method as the accessors. * * @param defaultUseStaticTyping Whether default typing mode is * 'static' or not (if not, it's 'dynamic'); can be overridden * by annotation related to property itself */ public BeanPropertyWriter buildProperty(String name, JsonSerializer<Object> ser, AnnotatedField af, boolean defaultUseStaticTyping) { return _buildProperty(name, ser, defaultUseStaticTyping, af, null, af.getAnnotated()); }
public boolean isFieldVisible(AnnotatedField f) { return isFieldVisible(f.getAnnotated()); }
if (am instanceof AnnotatedField) { m = null; f = ((AnnotatedField) am).getAnnotated(); } else { m = ((AnnotatedMethod) am).getAnnotated();
if (am instanceof AnnotatedField) { m = null; f = ((AnnotatedField) am).getAnnotated(); } else { m = ((AnnotatedMethod) am).getAnnotated();
protected SettableBeanProperty constructSettableProperty(DeserializationConfig config, BasicBeanDescription beanDesc, String name, AnnotatedField field) throws JsonMappingException { // need to ensure method is callable (for non-public) if (config.isEnabled(DeserializationConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS)) { field.fixAccess(); } JavaType type = resolveType(config, beanDesc, field.getGenericType(), field); /* First: does the Method specify the deserializer to use? * If so, let's use it. */ JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(config, field); Field f = field.getAnnotated(); if (propDeser != null) { SettableBeanProperty prop = new SettableBeanProperty.FieldProperty(name, type, f); prop.setValueDeserializer(propDeser); return prop; } // Otherwise, method may specify more specific (sub-)class for // value (no need to check if explicit deser was specified): type = modifyTypeByAnnotation(config, field, type); return new SettableBeanProperty.FieldProperty(name, type, f); }
if (am instanceof AnnotatedField) { m = null; f = ((AnnotatedField) am).getAnnotated(); } else { m = ((AnnotatedMethod) am).getAnnotated();