public String getFullName() { return getDeclaringClass().getName() + "#" + getName() + "(" +getParameterCount()+" params)"; }
@Override public Object findInjectableValueId(AnnotatedMember m) { JacksonInject ann = m.getAnnotation(JacksonInject.class); if (ann == null) { return null; } /* Empty String means that we should use name of declared * value class. */ String id = ann.value(); if (id.length() == 0) { // slight complication; for setters, type if (!(m instanceof AnnotatedMethod)) { return m.getRawType().getName(); } AnnotatedMethod am = (AnnotatedMethod) m; if (am.getParameterCount() == 0) { return m.getRawType().getName(); } return am.getParameterClass(0).getName(); } return id; }
_creatorProperties = new LinkedList<POJOPropertyBuilder>(); for (int i = 0, len = factory.getParameterCount(); i < len; ++i) { AnnotatedParameter param = factory.getParameter(i); String name = ai.findPropertyNameForParam(param);
int argCount = factory.getParameterCount(); if (argCount == 1) { Class<?> returnType = factory.getRawType();
protected void _addInjectables() { final AnnotationIntrospector ai = _annotationIntrospector; if (ai == null) { return; } // first fields, then methods for (AnnotatedField f : _classDef.fields()) { _doAddInjectable(ai.findInjectableValueId(f), f); } for (AnnotatedMethod m : _classDef.memberMethods()) { /* for now, only allow injection of a single arg * (to be changed in future) */ if (m.getParameterCount() != 1) { continue; } _doAddInjectable(ai.findInjectableValueId(m), m); } }
int argCount = factory.getParameterCount(); if (argCount == 1) { Class<?> returnType = factory.getRawType();
int argCount = factory.getParameterCount(); if (argCount < 1) { continue;
int argCount = m.getParameterCount(); boolean visible;
public String getFullName() { return getDeclaringClass().getName() + "#" + getName() + "(" +getParameterCount()+" params)"; }
@Override public Object findInjectableValueId(AnnotatedMember m) { JacksonInject ann = m.getAnnotation(JacksonInject.class); if (ann == null) { return null; } /* Empty String means that we should use name of declared * value class. */ String id = ann.value(); if (id.length() == 0) { // slight complication; for setters, type if (!(m instanceof AnnotatedMethod)) { return m.getRawType().getName(); } AnnotatedMethod am = (AnnotatedMethod) m; if (am.getParameterCount() == 0) { return m.getRawType().getName(); } return am.getParameterClass(0).getName(); } return id; }
_creatorProperties = new LinkedList<POJOPropertyBuilder>(); for (int i = 0, len = factory.getParameterCount(); i < len; ++i) { AnnotatedParameter param = factory.getParameter(i); String name = ai.findPropertyNameForParam(param);
int argCount = factory.getParameterCount(); if (argCount == 1) { Class<?> returnType = factory.getRawType();
protected void _addInjectables() { final AnnotationIntrospector ai = _annotationIntrospector; if (ai == null) { return; } // first fields, then methods for (AnnotatedField f : _classDef.fields()) { _doAddInjectable(ai.findInjectableValueId(f), f); } for (AnnotatedMethod m : _classDef.memberMethods()) { /* for now, only allow injection of a single arg * (to be changed in future) */ if (m.getParameterCount() != 1) { continue; } _doAddInjectable(ai.findInjectableValueId(m), m); } }
int argCount = factory.getParameterCount(); if (argCount == 1) { Class<?> returnType = factory.getRawType();
int argCount = factory.getParameterCount(); if (argCount < 1) { continue;
int argCount = m.getParameterCount(); boolean visible;
public String getFullName() { return getDeclaringClass().getName() + "#" + getName() + "(" +getParameterCount()+" params)"; }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName() + "(" +getParameterCount()+" params)"; }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName() + "(" +getParameterCount()+" params)"; }
public String getFullName() { return getDeclaringClass().getName() + "#" + getName() + "(" +getParameterCount()+" params)"; }