org.codehaus.jackson.map.introspect
Class AnnotatedField
java.lang.Object
org.codehaus.jackson.map.introspect.Annotated
org.codehaus.jackson.map.introspect.AnnotatedField
public final class AnnotatedField
- extends Annotated
AnnotatedField
public AnnotatedField(Field field,
AnnotationMap annMap)
addOrOverride
public void addOrOverride(Annotation a)
- Method called to override an annotation, usually due to a mix-in
annotation masking or overriding an annotation 'real' constructor
has.
getAnnotated
public Field getAnnotated()
- Specified by:
getAnnotated
in class Annotated
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in class Annotated
getName
public String getName()
- Specified by:
getName
in class Annotated
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> acls)
- Specified by:
getAnnotation
in class Annotated
getType
public Class<?> getType()
- Description copied from class:
Annotated
- Method used with annotated things that have class type.
- Specified by:
getType
in class Annotated
getGenericType
public Type getGenericType()
getDeclaringClass
public Class<?> getDeclaringClass()
getFullName
public String getFullName()
getAnnotationCount
public int getAnnotationCount()
fixAccess
public void fixAccess()
- Method that can be called to modify access rights, by calling
AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)
on
the underlying annotated element.
toString
public String toString()
- Overrides:
toString
in class Object