|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasterxml.jackson.databind.introspect.Annotated
public abstract class Annotated
Shared base class used for anything on which annotations (included
within a AnnotationMap
).
Constructor Summary | |
---|---|
protected |
Annotated()
|
Method Summary | ||
---|---|---|
protected abstract AnnotationMap |
getAllAnnotations()
|
|
abstract AnnotatedElement |
getAnnotated()
Method that can be used to find actual JDK element that this instance represents. |
|
abstract
|
getAnnotation(Class<A> acls)
|
|
abstract Type |
getGenericType()
Full generic type of the annotated element; definition of what exactly this means depends on sub-class. |
|
protected abstract int |
getModifiers()
|
|
abstract String |
getName()
|
|
abstract Class<?> |
getRawType()
"Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class. |
|
JavaType |
getType(TypeBindings context)
Full generic type of the annotated element; definition of what exactly this means depends on sub-class. |
|
|
hasAnnotation(Class<A> acls)
|
|
boolean |
isPublic()
|
|
abstract Annotated |
withAnnotations(AnnotationMap fallback)
Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones. |
|
Annotated |
withFallBackAnnotationsFrom(Annotated annotated)
Fluent factory method that will construct a new instance that uses annotations from specified Annotated as fallback annotations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Annotated()
Method Detail |
---|
public abstract <A extends Annotation> A getAnnotation(Class<A> acls)
public final <A extends Annotation> boolean hasAnnotation(Class<A> acls)
public abstract Annotated withAnnotations(AnnotationMap fallback)
public final Annotated withFallBackAnnotationsFrom(Annotated annotated)
Annotated
as fallback annotations
public abstract AnnotatedElement getAnnotated()
protected abstract int getModifiers()
public final boolean isPublic()
public abstract String getName()
public JavaType getType(TypeBindings context)
public abstract Type getGenericType()
public abstract Class<?> getRawType()
protected abstract AnnotationMap getAllAnnotations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |