public abstract class AbstractAnnotationAJ extends java.lang.Object implements AnnotationAJ
| Modifier and Type | Field and Description |
|---|---|
protected ResolvedType |
type |
EMPTY_ARRAY| Constructor and Description |
|---|
AbstractAnnotationAJ(ResolvedType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowedOnAnnotationType()
return true if this annotation can target an annotation type
|
boolean |
allowedOnField() |
boolean |
allowedOnRegularType() |
void |
ensureAtTargetInitialized() |
abstract java.util.Set<java.lang.String> |
getTargets() |
ResolvedType |
getType() |
java.lang.String |
getTypeName() |
java.lang.String |
getTypeSignature() |
java.lang.String |
getValidTargets() |
abstract boolean |
hasNamedValue(java.lang.String name) |
abstract boolean |
hasNameValuePair(java.lang.String name,
java.lang.String value) |
abstract boolean |
isRuntimeVisible() |
boolean |
specifiesTarget() |
abstract java.lang.String |
stringify() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStringFormOfValueprotected final ResolvedType type
public AbstractAnnotationAJ(ResolvedType type)
public final ResolvedType getType()
getType in interface AnnotationAJpublic final java.lang.String getTypeSignature()
getTypeSignature in interface AnnotationAJpublic final java.lang.String getTypeName()
getTypeName in interface AnnotationAJpublic final boolean allowedOnAnnotationType()
allowedOnAnnotationType in interface AnnotationAJpublic final boolean allowedOnField()
allowedOnField in interface AnnotationAJpublic final boolean allowedOnRegularType()
allowedOnRegularType in interface AnnotationAJpublic final void ensureAtTargetInitialized()
public final java.lang.String getValidTargets()
getValidTargets in interface AnnotationAJpublic final boolean specifiesTarget()
specifiesTarget in interface AnnotationAJpublic abstract boolean isRuntimeVisible()
isRuntimeVisible in interface AnnotationAJpublic abstract java.util.Set<java.lang.String> getTargets()
getTargets in interface AnnotationAJpublic abstract boolean hasNameValuePair(java.lang.String name,
java.lang.String value)
hasNameValuePair in interface AnnotationAJname - the name of the annotation fieldvalue - the value of the annotation fieldpublic abstract boolean hasNamedValue(java.lang.String name)
hasNamedValue in interface AnnotationAJname - the name of the valuepublic abstract java.lang.String stringify()
stringify in interface AnnotationAJ