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
ElementTypes 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, waitgetAnnotationType, getValue, prepareprivate static final java.lang.annotation.ElementType[] DEFAULT_TARGET
public java.lang.annotation.RetentionPolicy getRetention()
getRetention in interface AnnotationDescriptionpublic java.util.Set<java.lang.annotation.ElementType> getElementTypes()
ElementTypes that can declare this annotation.getElementTypes in interface AnnotationDescriptionpublic boolean isInherited()
isInherited in interface AnnotationDescriptiontrue if this annotation is inherited.Inheritedpublic boolean isDocumented()
isDocumented in interface AnnotationDescriptiontrue if this annotation is documented.Documentedpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object