Package org.aspectj.weaver.bcel
Class BcelAnnotation
- java.lang.Object
-
- org.aspectj.weaver.AbstractAnnotationAJ
-
- org.aspectj.weaver.bcel.BcelAnnotation
-
- All Implemented Interfaces:
AnnotationAJ
public class BcelAnnotation 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 BcelAnnotation(AnnotationGen theBcelAnnotation, ResolvedType resolvedAnnotationType)BcelAnnotation(AnnotationGen theBcelAnnotation, World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationGengetBcelAnnotation()StringgetStringFormOfValue(String name)Set<String>getTargets()booleanhasNamedValue(String name)booleanhasNameValuePair(String name, String value)booleanisRuntimeVisible()Stringstringify()StringtoString()-
Methods inherited from class org.aspectj.weaver.AbstractAnnotationAJ
allowedOnAnnotationType, allowedOnField, allowedOnRegularType, ensureAtTargetInitialized, getType, getTypeName, getTypeSignature, getValidTargets, specifiesTarget
-
-
-
-
Constructor Detail
-
BcelAnnotation
public BcelAnnotation(AnnotationGen theBcelAnnotation, World world)
-
BcelAnnotation
public BcelAnnotation(AnnotationGen theBcelAnnotation, ResolvedType resolvedAnnotationType)
-
-
Method Detail
-
getTargets
public Set<String> getTargets()
- Specified by:
getTargetsin interfaceAnnotationAJ- Specified by:
getTargetsin classAbstractAnnotationAJ
-
hasNameValuePair
public boolean hasNameValuePair(String name, String value)
- Specified by:
hasNameValuePairin interfaceAnnotationAJ- Specified by:
hasNameValuePairin classAbstractAnnotationAJ
-
hasNamedValue
public boolean hasNamedValue(String name)
- Specified by:
hasNamedValuein interfaceAnnotationAJ- Specified by:
hasNamedValuein classAbstractAnnotationAJ
-
stringify
public String stringify()
- Specified by:
stringifyin interfaceAnnotationAJ- Specified by:
stringifyin classAbstractAnnotationAJ
-
isRuntimeVisible
public boolean isRuntimeVisible()
- Specified by:
isRuntimeVisiblein interfaceAnnotationAJ- Specified by:
isRuntimeVisiblein classAbstractAnnotationAJ
-
getBcelAnnotation
public AnnotationGen getBcelAnnotation()
-
-