Package org.aspectj.weaver
Class StandardAnnotation
- java.lang.Object
-
- org.aspectj.weaver.AbstractAnnotationAJ
-
- org.aspectj.weaver.StandardAnnotation
-
- All Implemented Interfaces:
AnnotationAJ
public class StandardAnnotation extends AbstractAnnotationAJ
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.AbstractAnnotationAJ
type
-
Fields inherited from interface org.aspectj.weaver.AnnotationAJ
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description StandardAnnotation(ResolvedType type, boolean isRuntimeVisible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNameValuePair(AnnotationNameValuePair pair)List<AnnotationNameValuePair>getNameValuePairs()StringgetStringFormOfValue(String name)Set<String>getTargets()booleanhasNamedValue(String n)booleanhasNameValuePair(String n, String v)booleanhasNameValuePairs()booleanisRuntimeVisible()Stringstringify()StringtoString()-
Methods inherited from class org.aspectj.weaver.AbstractAnnotationAJ
allowedOnAnnotationType, allowedOnField, allowedOnRegularType, ensureAtTargetInitialized, getType, getTypeName, getTypeSignature, getValidTargets, specifiesTarget
-
-
-
-
Constructor Detail
-
StandardAnnotation
public StandardAnnotation(ResolvedType type, boolean isRuntimeVisible)
-
-
Method Detail
-
isRuntimeVisible
public boolean isRuntimeVisible()
- Specified by:
isRuntimeVisiblein interfaceAnnotationAJ- Specified by:
isRuntimeVisiblein classAbstractAnnotationAJ
-
stringify
public String stringify()
- Specified by:
stringifyin interfaceAnnotationAJ- Specified by:
stringifyin classAbstractAnnotationAJ
-
hasNamedValue
public boolean hasNamedValue(String n)
- Specified by:
hasNamedValuein interfaceAnnotationAJ- Specified by:
hasNamedValuein classAbstractAnnotationAJ
-
hasNameValuePair
public boolean hasNameValuePair(String n, String v)
- Specified by:
hasNameValuePairin interfaceAnnotationAJ- Specified by:
hasNameValuePairin classAbstractAnnotationAJ
-
getTargets
public Set<String> getTargets()
- Specified by:
getTargetsin interfaceAnnotationAJ- Specified by:
getTargetsin classAbstractAnnotationAJ
-
getNameValuePairs
public List<AnnotationNameValuePair> getNameValuePairs()
-
hasNameValuePairs
public boolean hasNameValuePairs()
-
addNameValuePair
public void addNameValuePair(AnnotationNameValuePair pair)
-
-