janino.net

org.codehaus.janino
Interface Java.Annotation

All Superinterfaces:
Java.ElementValue
All Known Implementing Classes:
Java.MarkerAnnotation, Java.NormalAnnotation, Java.SingleElementAnnotation
Enclosing class:
Java

public static interface Java.Annotation
extends Java.ElementValue

Representation of a Java ™ annotation.


Method Summary
 void accept(Visitor.AnnotationVisitor visitor)
          Invokes the 'visit...()' method of Visitor.AnnotationVisitor for the concrete Java.Annotation type.
 Java.Type getType()
           
 void setEnclosingScope(Java.Scope enclosingScope)
          Sets the enclosing scope for this annotation.
 
Methods inherited from interface org.codehaus.janino.Java.ElementValue
accept
 

Method Detail

accept

void accept(Visitor.AnnotationVisitor visitor)
Invokes the 'visit...()' method of Visitor.AnnotationVisitor for the concrete Java.Annotation type.


setEnclosingScope

void setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this annotation.


getType

Java.Type getType()
Returns:
The type of this annotation

janino.net