|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClassDecl
A ClassDecl represents a top-level, member, or local class
declaration.
| Method Summary | |
|---|---|
ClassBody |
body()
The class's body. |
ClassDecl |
body(ClassBody body)
Set the class's body. |
Flags |
flags()
The class declaration's flags. |
ClassDecl |
flags(Flags flags)
Set the class declaration's flags. |
java.util.List |
interfaces()
The class's interface list. |
ClassDecl |
interfaces(java.util.List interfaces)
Set the class's interface list. |
java.lang.String |
name()
The class declaration's name. |
ClassDecl |
name(java.lang.String name)
Set the class declaration's name. |
TypeNode |
superClass()
The class's super class. |
ClassDecl |
superClass(TypeNode superClass)
Set the class's super class. |
ParsedClassType |
type()
The type of the class declaration. |
ClassDecl |
type(ParsedClassType type)
Set the type of the class declaration. |
| Methods inherited from interface polyglot.ast.TopLevelDecl |
|---|
declaration |
| Method Detail |
|---|
ParsedClassType type()
ClassDecl type(ParsedClassType type)
Flags flags()
flags in interface TopLevelDeclClassDecl flags(Flags flags)
java.lang.String name()
name in interface TopLevelDeclClassDecl name(java.lang.String name)
TypeNode superClass()
ClassDecl superClass(TypeNode superClass)
java.util.List interfaces()
TypeNode.ClassDecl interfaces(java.util.List interfaces)
interfaces - A list of TypeNode.ClassBody body()
ClassDecl body(ClassBody body)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||