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.Annotation
public java.lang.String toString()
toString
in class java.lang.Object
public Java.Type getType()
getType
in interface Java.Annotation
public void accept(Visitor.AnnotationVisitor visitor)
accept
in interface Java.Annotation
public void accept(Visitor.ElementValueVisitor visitor)
accept
in interface Java.ElementValue