public abstract static class AnnotationDescription.AbstractBase extends Object implements AnnotationDescription
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationDescription.AbstractBase.ForPrepared<S extends Annotation>
An abstract implementation of a loadable annotation description.
|
AnnotationDescription.AbstractBase, AnnotationDescription.AnnotationInvocationHandler<T extends Annotation>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Latent, AnnotationDescription.Loadable<S extends Annotation>
UNDEFINED
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Set<ElementType> |
getElementTypes()
Returns a set of all
ElementType s that can declare this 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.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationType, getValue, prepare
public RetentionPolicy getRetention()
AnnotationDescription
getRetention
in interface AnnotationDescription
public Set<ElementType> getElementTypes()
AnnotationDescription
ElementType
s that can declare this annotation.getElementTypes
in interface AnnotationDescription
public boolean isInherited()
AnnotationDescription
isInherited
in interface AnnotationDescription
true
if this annotation is inherited.Inherited
public boolean isDocumented()
AnnotationDescription
isDocumented
in interface AnnotationDescription
true
if this annotation is documented.Documented
Copyright © 2014–2018. All rights reserved.