public class BcelAnnotation extends AbstractAnnotationAJ
typeEMPTY_ARRAY| Constructor and Description |
|---|
BcelAnnotation(AnnotationGen theBcelAnnotation,
ResolvedType resolvedAnnotationType) |
BcelAnnotation(AnnotationGen theBcelAnnotation,
World world) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationGen |
getBcelAnnotation() |
java.lang.String |
getStringFormOfValue(java.lang.String name)
Determine the string representation of the value of a field.
|
java.util.Set<java.lang.String> |
getTargets() |
boolean |
hasNamedValue(java.lang.String name) |
boolean |
hasNameValuePair(java.lang.String name,
java.lang.String value) |
boolean |
isRuntimeVisible() |
java.lang.String |
stringify() |
java.lang.String |
toString() |
allowedOnAnnotationType, allowedOnField, allowedOnRegularType, ensureAtTargetInitialized, getType, getTypeName, getTypeSignature, getValidTargets, specifiesTargetpublic BcelAnnotation(AnnotationGen theBcelAnnotation, World world)
public BcelAnnotation(AnnotationGen theBcelAnnotation, ResolvedType resolvedAnnotationType)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Set<java.lang.String> getTargets()
getTargets in interface AnnotationAJgetTargets in class AbstractAnnotationAJpublic boolean hasNameValuePair(java.lang.String name,
java.lang.String value)
hasNameValuePair in interface AnnotationAJhasNameValuePair in class AbstractAnnotationAJname - the name of the annotation fieldvalue - the value of the annotation fieldpublic boolean hasNamedValue(java.lang.String name)
hasNamedValue in interface AnnotationAJhasNamedValue in class AbstractAnnotationAJname - the name of the valuepublic java.lang.String stringify()
stringify in interface AnnotationAJstringify in class AbstractAnnotationAJpublic boolean isRuntimeVisible()
isRuntimeVisible in interface AnnotationAJisRuntimeVisible in class AbstractAnnotationAJpublic AnnotationGen getBcelAnnotation()
public java.lang.String getStringFormOfValue(java.lang.String name)
name - the name of the annotation field being looked up