public abstract static class Java.AbstractAnnotation extends Object implements Java.Annotation
| Modifier and Type | Field and Description |
|---|---|
Java.Type |
type
The type of this annotation.
|
| Constructor and Description |
|---|
AbstractAnnotation(Java.Type type) |
| 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. |
<R,EX extends Throwable> |
accept(Visitor.ModifierVisitor<R,EX> visitor)
|
Location |
getLocation() |
void |
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this annotation.
|
void |
throwCompileException(String message)
Throws a
CompileException with the given message and this object's location. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getTypepublic final Java.Type type
public AbstractAnnotation(Java.Type type)
public void setEnclosingScope(Java.Scope enclosingScope)
Java.AnnotationsetEnclosingScope in interface Java.AnnotationsetEnclosingScope in interface Java.ElementValuepublic Location getLocation()
getLocation in interface Java.Locatable@Nullable public final <R,EX extends Throwable> R accept(Visitor.ElementValueVisitor<R,EX> visitor) throws EX extends Throwable
Java.ElementValuevisit...()" method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.accept in interface Java.ElementValueEX extends Throwable@Nullable public final <R,EX extends Throwable> R accept(Visitor.ModifierVisitor<R,EX> visitor) throws EX extends Throwable
Java.Modifieraccept in interface Java.ModifierEX extends Throwablepublic void throwCompileException(String message) throws CompileException
Java.LocatableCompileException with the given message and this object's location.throwCompileException in interface Java.Locatablemessage - The message to reportCompileExceptionCopyright © 2022. All rights reserved.