|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcetus.hir.Statement
cetus.hir.AnnotationStatement
public class AnnotationStatement
AnnotationStatement is used for stand-alone annotations in executable code section, e.g., under CompoundStatement.
| Field Summary |
|---|
| Fields inherited from class cetus.hir.Statement |
|---|
annotations, children, line_number, object_print_method, parent |
| Constructor Summary | |
|---|---|
AnnotationStatement()
Constructs an empty annotation statement. |
|
AnnotationStatement(Annotation annotation)
Constructs a new annotation statement with the specified annotation. |
|
| Method Summary | |
|---|---|
static void |
defaultPrint(AnnotationStatement astmt,
java.io.OutputStream stream)
Prints this annotation statement. |
static void |
setClassPrintMethod(java.lang.reflect.Method m)
Sets the class print method with the given method. |
java.lang.String |
toString()
Returns the string representation of this annotation statement. |
| Methods inherited from class cetus.hir.Statement |
|---|
annotate, annotateAfter, annotateBefore, annotationToString, clone, containsAnnotation, detach, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getChildren, getParent, getProcedure, print, removeAnnotations, removeAnnotations, removeChild, setChild, setLineNumber, setParent, setPrintMethod, swapWith, toAnnotatedString, verify, where |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationStatement()
public AnnotationStatement(Annotation annotation)
| Method Detail |
|---|
public static void defaultPrint(AnnotationStatement astmt,
java.io.OutputStream stream)
public static void setClassPrintMethod(java.lang.reflect.Method m)
public java.lang.String toString()
toString in class Statement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||