Package org.codehaus.janino
Class Java.MarkerAnnotation
java.lang.Object
org.codehaus.janino.Java.AbstractAnnotation
org.codehaus.janino.Java.MarkerAnnotation
- All Implemented Interfaces:
Java.Annotation
,Java.ElementValue
,Java.Locatable
,Java.Modifier
- Enclosing class:
Java
Representation of a "marker annotation", i.e. an annotation without any elements in parentheses.
-
Field Summary
Fields inherited from class org.codehaus.janino.Java.AbstractAnnotation
type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,
EX extends Throwable>
Raccept
(Visitor.AnnotationVisitor<R, EX> visitor) getType()
toString()
Methods inherited from class org.codehaus.janino.Java.AbstractAnnotation
accept, accept, getLocation, setEnclosingScope, throwCompileException
-
Constructor Details
-
MarkerAnnotation
-
-
Method Details
-
toString
-
getType
- Returns:
- The type of this annotation
-
accept
@Nullable public <R,EX extends Throwable> R accept(Visitor.AnnotationVisitor<R, EX> visitor) throws EXDescription copied from interface:Java.Annotation
- Throws:
EX
-