public abstract static class AnnotationDescription.AbstractBase extends Object implements AnnotationDescription
AnnotationDescription.AbstractBase, AnnotationDescription.AnnotationInvocationHandler<T extends Annotation>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Latent, AnnotationDescription.Loadable<S extends Annotation>, AnnotationDescription.RenderingDispatcher
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.
|
AnnotationValue<?,?> |
getValue(String property)
Returns a value of this annotation.
|
int |
hashCode() |
boolean |
isDocumented()
Checks if this annotation is documented.
|
boolean |
isInherited()
Checks if this annotation is inherited.
|
boolean |
isSupportedOn(ElementType elementType)
Checks if this annotation is supported on the supplied element type.
|
boolean |
isSupportedOn(String elementType)
Checks if this annotation is supported on the supplied element type.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationType, getValue, prepare
public AnnotationValue<?,?> getValue(String property)
getValue
in interface AnnotationDescription
property
- The name of the property being accessed.public RetentionPolicy getRetention()
getRetention
in interface AnnotationDescription
public Set<ElementType> getElementTypes()
ElementType
s that can declare this annotation.getElementTypes
in interface AnnotationDescription
public boolean isSupportedOn(ElementType elementType)
isSupportedOn
in interface AnnotationDescription
elementType
- The element type to check.true
if the supplied element type is supported by this annotation.public boolean isSupportedOn(String elementType)
isSupportedOn
in interface AnnotationDescription
elementType
- The element type to check.true
if the supplied element type is supported by this annotation.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
@CachedReturnPlugin.Enhance(value="hashCode") public int hashCode()
public boolean equals(@MaybeNull Object other)
Copyright © 2014–2024. All rights reserved.