public class AnnotationStatement extends Statement
| Constructor and Description |
|---|
AnnotationStatement()
Constructs an empty annotation statement.
|
AnnotationStatement(Annotation annotation)
Constructs a new annotation statement with the specified annotation.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationStatement |
clone()
Returns a clone of the annotation statement
|
static void |
defaultPrint(AnnotationStatement s,
java.io.PrintWriter o)
Prints this annotation statement.
|
static void |
setClassPrintMethod(java.lang.reflect.Method m)
Sets the class print method with the given method.
|
annotate, annotateAfter, annotateBefore, containsAnnotation, detach, equals, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getChildren, getParent, getProcedure, hashCode, print, removeAnnotations, removeAnnotations, removeChild, setChild, setLineNumber, setParent, setPrintMethod, swapWith, toString, verify, wherepublic AnnotationStatement()
public AnnotationStatement(Annotation annotation)
annotation - the new annotation to be inserted.public static void defaultPrint(AnnotationStatement s, java.io.PrintWriter o)
s - the annotation statement to be printed.o - the target print writer.public static void setClassPrintMethod(java.lang.reflect.Method m)
public AnnotationStatement clone()