public abstract static class AnnotationDescription.AbstractBase extends java.lang.Object implements AnnotationDescription
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationDescription.AbstractBase.ForPrepared<S extends java.lang.annotation.Annotation>
An abstract implementation of a loadable annotation description.
|
AnnotationDescription.AbstractBase, AnnotationDescription.AnnotationInvocationHandler<T extends java.lang.annotation.Annotation>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends java.lang.annotation.Annotation>, AnnotationDescription.Latent, AnnotationDescription.Loadable<S extends java.lang.annotation.Annotation>
Modifier and Type | Field and Description |
---|---|
private static java.lang.annotation.ElementType[] |
DEFAULT_TARGET
An array containing all element types that are a legal annotation target when such a target
is not specified explicitly.
|
UNDEFINED
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.util.Set<java.lang.annotation.ElementType> |
getElementTypes()
Returns a set of all
ElementType s that can declare this annotation. |
java.lang.annotation.RetentionPolicy |
getRetention()
Returns this annotation's retention policy.
|
int |
hashCode() |
boolean |
isDocumented()
Checks if this annotation is documented.
|
boolean |
isInherited()
Checks if this annotation is inherited.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationType, getValue, prepare
private static final java.lang.annotation.ElementType[] DEFAULT_TARGET
public java.lang.annotation.RetentionPolicy getRetention()
getRetention
in interface AnnotationDescription
public java.util.Set<java.lang.annotation.ElementType> getElementTypes()
ElementType
s that can declare this annotation.getElementTypes
in interface AnnotationDescription
public boolean isInherited()
isInherited
in interface AnnotationDescription
true
if this annotation is inherited.Inherited
public boolean isDocumented()
isDocumented
in interface AnnotationDescription
true
if this annotation is documented.Documented
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object