public static final class Java.SingleElementAnnotation extends java.lang.Object implements Java.Annotation
| Modifier and Type | Field and Description |
|---|---|
Java.ElementValue |
elementValue |
Java.Type |
type |
| Constructor and Description |
|---|
SingleElementAnnotation(Java.Type type,
Java.ElementValue elementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor.AnnotationVisitor visitor) |
void |
accept(Visitor.ElementValueVisitor visitor) |
Java.Type |
getType() |
void |
setEnclosingScope(Java.Scope enclosingScope) |
java.lang.String |
toString() |
public final Java.Type type
public final Java.ElementValue elementValue
public SingleElementAnnotation(Java.Type type, Java.ElementValue elementValue)
public void setEnclosingScope(Java.Scope enclosingScope)
setEnclosingScope in interface Java.Annotationpublic java.lang.String toString()
toString in class java.lang.Objectpublic Java.Type getType()
getType in interface Java.Annotationpublic void accept(Visitor.AnnotationVisitor visitor)
accept in interface Java.Annotationpublic void accept(Visitor.ElementValueVisitor visitor)
accept in interface Java.ElementValue