Java.Annotation
, Java.ElementValue
public static final class Java.NormalAnnotation extends Object implements Java.Annotation
Modifier and Type | Field | Description |
---|---|---|
Java.ElementValuePair[] |
elementValuePairs |
The element-value-pairs associated with this annotation.
|
Java.Type |
type |
The type of this normal annotation.
|
Constructor | Description |
---|---|
NormalAnnotation(Java.Type type,
Java.ElementValuePair[] elementValuePairs) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor.AnnotationVisitor visitor) |
|
void |
accept(Visitor.ElementValueVisitor visitor) |
Invokes the '
visit...() ' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
Java.Type |
getType() |
|
void |
setEnclosingScope(Java.Scope enclosingScope) |
Sets the enclosing scope for this annotation.
|
String |
toString() |
public final Java.Type type
public final Java.ElementValuePair[] elementValuePairs
public NormalAnnotation(Java.Type type, Java.ElementValuePair[] elementValuePairs)
public Java.Type getType()
getType
in interface Java.Annotation
public void setEnclosingScope(Java.Scope enclosingScope)
Java.Annotation
setEnclosingScope
in interface Java.Annotation
public void accept(Visitor.AnnotationVisitor visitor)
Java.Annotation
accept
in interface Java.Annotation
public void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValue
visit...()
' method of Visitor.ElementValueVisitor
for the concrete Java.ElementValue
type.accept
in interface Java.ElementValue
Copyright © 2001–2019. All rights reserved.