Package org.codehaus.janino
Interface Java.Annotation
- All Superinterfaces:
Java.ElementValue
,Java.Locatable
,Java.Modifier
- All Known Implementing Classes:
Java.AbstractAnnotation
,Java.MarkerAnnotation
,Java.NormalAnnotation
,Java.SingleElementAnnotation
- Enclosing class:
- Java
Representation of a Java annotation.
-
Method Summary
Modifier and TypeMethodDescription<R,
EX extends Throwable>
Raccept
(Visitor.AnnotationVisitor<R, EX> visitor) getType()
void
setEnclosingScope
(Java.Scope enclosingScope) Sets the enclosing scope for this annotation.Methods inherited from interface org.codehaus.janino.Java.ElementValue
accept
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
Methods inherited from interface org.codehaus.janino.Java.Modifier
accept
-
Method Details
-
accept
- Throws:
EX extends Throwable
-
setEnclosingScope
Sets the enclosing scope for this annotation.- Specified by:
setEnclosingScope
in interfaceJava.ElementValue
-
getType
Java.Type getType()- Returns:
- The type of this annotation
-