public static interface Java.ElementValue extends Java.Locatable
Java.NormalAnnotation.| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.ElementValueVisitor<R,EX> visitor)
Invokes the '
visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
setEnclosingScope(Java.Scope scope)
In most cases, the scope is the enclosing
Java.BlockStatement, except for top-level class/interface
annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit. |
getLocation, throwCompileException@Nullable <R,EX extends Throwable> R accept(Visitor.ElementValueVisitor<R,EX> visitor) throws EX extends Throwable
visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.EX extends Throwablevoid setEnclosingScope(Java.Scope scope)
Java.BlockStatement, except for top-level class/interface
annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit.