org.codehaus.jackson.map.introspect
Class Annotated

java.lang.Object
  extended by org.codehaus.jackson.map.introspect.Annotated
Direct Known Subclasses:
AnnotatedClass, AnnotatedConstructor, AnnotatedMethod

public abstract class Annotated
extends java.lang.Object

Shared base class used for anything on which annotations (included within a AnnotationMap).


Constructor Summary
Annotated()
           
 
Method Summary
abstract  java.lang.reflect.AnnotatedElement getAnnotated()
           
abstract
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> acls)
           
protected abstract  int getModifiers()
           
abstract  java.lang.String getName()
           
<A extends java.lang.annotation.Annotation>
boolean
hasAnnotation(java.lang.Class<A> acls)
           
 boolean isPublic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Annotated

public Annotated()
Method Detail

getAnnotation

public abstract <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> acls)

hasAnnotation

public final <A extends java.lang.annotation.Annotation> boolean hasAnnotation(java.lang.Class<A> acls)

getAnnotated

public abstract java.lang.reflect.AnnotatedElement getAnnotated()

getModifiers

protected abstract int getModifiers()

isPublic

public final boolean isPublic()

getName

public abstract java.lang.String getName()