程序包 | 说明 |
---|---|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
限定符和类型 | 字段和说明 |
---|---|
protected AnnotationMap |
AnnotatedMember._annotations |
protected AnnotationMap |
AnnotatedClass._classAnnotations
Combined list of Jackson annotations that the class has,
including inheritable ones from super classes and interfaces
|
protected AnnotationMap[] |
AnnotatedWithParams._paramAnnotations
Annotations associated with parameters of the annotated
entity (method or constructor parameters)
|
限定符和类型 | 方法和说明 |
---|---|
protected AnnotationMap |
AnnotatedClass._collectRelevantAnnotations(Annotation[] anns) |
protected AnnotationMap[] |
AnnotatedClass._collectRelevantAnnotations(Annotation[][] anns) |
protected AnnotationMap |
AnnotatedMember.getAllAnnotations() |
protected AnnotationMap |
AnnotatedClass.getAllAnnotations() |
protected abstract AnnotationMap |
Annotated.getAllAnnotations() |
AnnotationMap |
AnnotatedWithParams.getParameterAnnotations(int index) |
static AnnotationMap |
AnnotationMap.merge(AnnotationMap primary,
AnnotationMap secondary) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AnnotatedClass._addClassMixIns(AnnotationMap annotations,
Class<?> toMask)
Helper method for adding any mix-in annotations specified
class might have.
|
protected void |
AnnotatedClass._addClassMixIns(AnnotationMap annotations,
Class<?> toMask,
Class<?> mixin) |
static AnnotationMap |
AnnotationMap.merge(AnnotationMap primary,
AnnotationMap secondary) |
protected AnnotatedParameter |
AnnotatedWithParams.replaceParameterAnnotations(int index,
AnnotationMap ann)
Method called by parameter object when an augmented instance is created;
needs to replace parameter with new instance
|
AnnotatedParameter |
AnnotatedParameter.withAnnotations(AnnotationMap ann) |
AnnotatedMethod |
AnnotatedMethod.withAnnotations(AnnotationMap ann) |
AnnotatedField |
AnnotatedField.withAnnotations(AnnotationMap ann) |
AnnotatedConstructor |
AnnotatedConstructor.withAnnotations(AnnotationMap ann) |
AnnotatedClass |
AnnotatedClass.withAnnotations(AnnotationMap ann) |
abstract Annotated |
Annotated.withAnnotations(AnnotationMap fallback)
Fluent factory method that will construct a new instance that uses specified
instance annotations instead of currently configured ones.
|
构造器和说明 |
---|
AnnotatedConstructor(Constructor<?> constructor,
AnnotationMap classAnn,
AnnotationMap[] paramAnn) |
AnnotatedConstructor(Constructor<?> constructor,
AnnotationMap classAnn,
AnnotationMap[] paramAnn) |
AnnotatedField(Field field,
AnnotationMap annMap) |
AnnotatedMember(AnnotationMap annotations) |
AnnotatedMethod(Method method,
AnnotationMap classAnn,
AnnotationMap[] paramAnnotations) |
AnnotatedMethod(Method method,
AnnotationMap classAnn,
AnnotationMap[] paramAnnotations) |
AnnotatedParameter(AnnotatedWithParams owner,
Type type,
AnnotationMap annotations,
int index) |
AnnotatedWithParams(AnnotationMap annotations,
AnnotationMap[] paramAnnotations) |
AnnotatedWithParams(AnnotationMap annotations,
AnnotationMap[] paramAnnotations) |