implName = f.getName();
/** * Returns the jackson annotated field, if jackson is present. */ public Object /*AnnotatedField*/ getJacksonField() { com.fasterxml.jackson.databind.introspect.AnnotatedClass jac = (com.fasterxml.jackson.databind.introspect.AnnotatedClass) getDesc().getJacksonAnnotatedClass(); for (com.fasterxml.jackson.databind.introspect.AnnotatedField candidate : jac.fields()) { if (candidate.getName().equals(getName())) { return candidate; } } return null; } }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName(); }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName(); }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName(); }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName(); }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName(); }
public String[] findPropertiesToIgnore(AnnotatedClass ac) { List<String> ignoreFields = null; for (AnnotatedField f : ac.fields()) { if (isIgnorableField(f)) { if (ignoreFields == null) { ignoreFields = new ArrayList<String>(); } ignoreFields.add(f.getName()); } } return ignoreFields != null ? ignoreFields.toArray(new String[ignoreFields.size()]) : null; }
XmlID idProp = f.getAnnotation(XmlID.class); if (idProp != null) { idPropName = findJaxbPropertyName(f, f.getRawType(), f.getName()); break;
return field.getName();
/** * Returns the jackson annotated field, if jackson is present. */ public Object /*AnnotatedField*/ getJacksonField() { com.fasterxml.jackson.databind.introspect.AnnotatedClass jac = (com.fasterxml.jackson.databind.introspect.AnnotatedClass) getDesc().getJacksonAnnotatedClass(); for (com.fasterxml.jackson.databind.introspect.AnnotatedField candidate : jac.fields()) { if (candidate.getName().equals(getName())) { return candidate; } } return null; } }
try { Arrays.stream(Introspector.getBeanInfo(field.getDeclaringClass()).getPropertyDescriptors()) .filter(prop -> field.getName().equals(prop.getName())) .findFirst() .ifPresent(prop -> addPropertyMethods(propertyElements, prop));
String implName = f.getName();
String implName = f.getName();
AnnotationFound<T> found = new AnnotationFound<>(); found.annotation = fieldAnnotation; found.foundMessage = annotationName + " on field '" + property.getField().getName() + "'"; return found;
String implName = (ai == null) ? null : ai.findImplicitPropertyName(f); if (implName == null) { implName = f.getName();
String implName = (ai == null) ? null : ai.findImplicitPropertyName(f); if (implName == null) { implName = f.getName();
XmlID idProp = f.getAnnotation(XmlID.class); if (idProp != null) { idPropName = findJaxbPropertyName(f, f.getRawType(), f.getName()); break;
XmlID idProp = f.getAnnotation(XmlID.class); if (idProp != null) { idPropName = findJaxbPropertyName(f, f.getRawType(), f.getName()); break;
XmlID idProp = f.getAnnotation(XmlID.class); if (idProp != null) { idPropName = findJaxbPropertyName(f, f.getRawType(), f.getName()); break;