Package org.aspectj.weaver
Class AbstractAnnotationAJ
- java.lang.Object
-
- org.aspectj.weaver.AbstractAnnotationAJ
-
- All Implemented Interfaces:
AnnotationAJ
- Direct Known Subclasses:
BcelAnnotation,StandardAnnotation
public abstract class AbstractAnnotationAJ extends Object implements AnnotationAJ
-
-
Field Summary
Fields Modifier and Type Field Description protected ResolvedTypetype-
Fields inherited from interface org.aspectj.weaver.AnnotationAJ
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description AbstractAnnotationAJ(ResolvedType type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanallowedOnAnnotationType()booleanallowedOnField()booleanallowedOnRegularType()voidensureAtTargetInitialized()abstract Set<String>getTargets()ResolvedTypegetType()StringgetTypeName()StringgetTypeSignature()StringgetValidTargets()abstract booleanhasNamedValue(String name)abstract booleanhasNameValuePair(String name, String value)abstract booleanisRuntimeVisible()booleanspecifiesTarget()abstract Stringstringify()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aspectj.weaver.AnnotationAJ
getStringFormOfValue
-
-
-
-
Field Detail
-
type
protected final ResolvedType type
-
-
Constructor Detail
-
AbstractAnnotationAJ
public AbstractAnnotationAJ(ResolvedType type)
-
-
Method Detail
-
getType
public final ResolvedType getType()
- Specified by:
getTypein interfaceAnnotationAJ
-
getTypeSignature
public final String getTypeSignature()
- Specified by:
getTypeSignaturein interfaceAnnotationAJ
-
getTypeName
public final String getTypeName()
- Specified by:
getTypeNamein interfaceAnnotationAJ
-
allowedOnAnnotationType
public final boolean allowedOnAnnotationType()
- Specified by:
allowedOnAnnotationTypein interfaceAnnotationAJ
-
allowedOnField
public final boolean allowedOnField()
- Specified by:
allowedOnFieldin interfaceAnnotationAJ
-
allowedOnRegularType
public final boolean allowedOnRegularType()
- Specified by:
allowedOnRegularTypein interfaceAnnotationAJ
-
ensureAtTargetInitialized
public final void ensureAtTargetInitialized()
-
getValidTargets
public final String getValidTargets()
- Specified by:
getValidTargetsin interfaceAnnotationAJ
-
specifiesTarget
public final boolean specifiesTarget()
- Specified by:
specifiesTargetin interfaceAnnotationAJ
-
isRuntimeVisible
public abstract boolean isRuntimeVisible()
- Specified by:
isRuntimeVisiblein interfaceAnnotationAJ
-
getTargets
public abstract Set<String> getTargets()
- Specified by:
getTargetsin interfaceAnnotationAJ
-
hasNameValuePair
public abstract boolean hasNameValuePair(String name, String value)
- Specified by:
hasNameValuePairin interfaceAnnotationAJ
-
hasNamedValue
public abstract boolean hasNamedValue(String name)
- Specified by:
hasNamedValuein interfaceAnnotationAJ
-
stringify
public abstract String stringify()
- Specified by:
stringifyin interfaceAnnotationAJ
-
-