org.codehaus.jackson.map.introspect
Class AnnotatedMember

java.lang.Object
  extended by org.codehaus.jackson.map.introspect.Annotated
      extended by org.codehaus.jackson.map.introspect.AnnotatedMember
Direct Known Subclasses:
AnnotatedField, AnnotatedWithParams

public abstract class AnnotatedMember
extends Annotated

Intermediate base class for annotated entities that are members of a class; fields, methods and constructors. This is a superset of things that can represent logical properties as it contains constructors in addition to fields and methods.

Since:
1.5
Author:
tatu

Constructor Summary
protected AnnotatedMember()
           
 
Method Summary
 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.
abstract  Class<?> getDeclaringClass()
           
abstract  Member getMember()
           
 
Methods inherited from class org.codehaus.jackson.map.introspect.Annotated
getAnnotated, getAnnotation, getGenericType, getModifiers, getName, getRawType, getType, hasAnnotation, isPublic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedMember

protected AnnotatedMember()
Method Detail

getDeclaringClass

public abstract Class<?> getDeclaringClass()

getMember

public abstract Member getMember()

fixAccess

public final 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.