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