public abstract class Annotated
extends java.lang.Object
AnnotationMap
).Modifier and Type | Method and Description |
---|---|
abstract java.lang.Iterable<java.lang.annotation.Annotation> |
annotations()
Deprecated.
Since 2.9 should instead use
getAnnotated() |
abstract boolean |
equals(java.lang.Object o) |
abstract java.lang.reflect.AnnotatedElement |
getAnnotated()
Method that can be used to find actual JDK element that this instance
represents.
|
abstract <A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> acls) |
java.lang.reflect.Type |
getGenericType()
Deprecated.
Since 2.7 should instead use
getType() . To be removed from 2.9 |
abstract java.lang.String |
getName() |
abstract java.lang.Class<?> |
getRawType()
"Raw" type (type-erased class) of the annotated element; definition
of what exactly this means depends on sub-class.
|
abstract JavaType |
getType()
Full generic type of the annotated element; definition
of what exactly this means depends on sub-class.
|
JavaType |
getType(TypeBindings bogus)
Deprecated.
Since 2.7 Use
getType() instead. To be removed from 2.9 |
abstract boolean |
hasAnnotation(java.lang.Class<?> acls) |
abstract int |
hashCode() |
abstract boolean |
hasOneOf(java.lang.Class<? extends java.lang.annotation.Annotation>[] annoClasses) |
boolean |
isPublic() |
abstract java.lang.String |
toString() |
public abstract <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> acls)
public abstract boolean hasAnnotation(java.lang.Class<?> acls)
public abstract boolean hasOneOf(java.lang.Class<? extends java.lang.annotation.Annotation>[] annoClasses)
public abstract java.lang.reflect.AnnotatedElement getAnnotated()
public boolean isPublic()
public abstract java.lang.String getName()
public abstract JavaType getType()
@Deprecated public final JavaType getType(TypeBindings bogus)
getType()
instead. To be removed from 2.9@Deprecated public java.lang.reflect.Type getGenericType()
getType()
. To be removed from 2.9TypeResolutionContext
, and
as a result use of this method was deprecated in Jackson 2.7: see
getType()
for replacement.public abstract java.lang.Class<?> getRawType()
@Deprecated public abstract java.lang.Iterable<java.lang.annotation.Annotation> annotations()
getAnnotated()
public abstract boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved