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()voidsetEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope for this annotation.Methods inherited from interface Java.ElementValue
acceptMethods inherited from interface Java.Locatable
getLocation, throwCompileExceptionMethods inherited from interface Java.Modifier
accept
-
Method Details
-
accept
- Throws:
EX
-
setEnclosingScope
Sets the enclosing scope for this annotation.- Specified by:
setEnclosingScopein interfaceJava.ElementValue
-
getType
Java.Type getType()- Returns:
- The type of this annotation
-