org.codehaus.jackson.map.introspect
Class Annotated
java.lang.Object
org.codehaus.jackson.map.introspect.Annotated
- Direct Known Subclasses:
- AnnotatedClass, AnnotatedField, AnnotatedParameter, AnnotatedWithParams
public abstract class Annotated
- extends Object
Shared base class used for anything on which annotations (included
within a AnnotationMap
).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Annotated
public Annotated()
getAnnotation
public abstract <A extends Annotation> A getAnnotation(Class<A> acls)
hasAnnotation
public final <A extends Annotation> boolean hasAnnotation(Class<A> acls)
getAnnotated
public abstract AnnotatedElement getAnnotated()
getModifiers
protected abstract int getModifiers()
isPublic
public final boolean isPublic()
getName
public abstract String getName()
getType
public abstract Class<?> getType()
- Method used with annotated things that have class type.