public static final class Java.NormalAnnotation extends Java.AbstractAnnotation
| Modifier and Type | Field and Description |
|---|---|
Java.ElementValuePair[] |
elementValuePairs
The element-value-pairs associated with this annotation.
|
type| Constructor and Description |
|---|
NormalAnnotation(Java.ReferenceType type,
Java.ElementValuePair[] elementValuePairs) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.AnnotationVisitor<R,EX> visitor)
|
Java.Type |
getType() |
void |
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this annotation.
|
String |
toString() |
accept, getLocation, throwCompileExceptionpublic final Java.ElementValuePair[] elementValuePairs
public NormalAnnotation(Java.ReferenceType type, Java.ElementValuePair[] elementValuePairs)
public void setEnclosingScope(Java.Scope enclosingScope)
Java.AnnotationsetEnclosingScope in interface Java.AnnotationsetEnclosingScope in interface Java.ElementValuesetEnclosingScope in class Java.AbstractAnnotationpublic Java.Type getType()
@Nullable public <R,EX extends Throwable> R accept(Visitor.AnnotationVisitor<R,EX> visitor) throws EX extends Throwable
Java.AnnotationEX extends Throwable