|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Declaration
subinterface for the class declaration heirarchy.
Fields inherited from interface org.inxar.jenesis.Access |
PACKAGE, PRIVATE, PROTECTED, PUBLIC |
Method Summary | |
void |
addImplements(java.lang.String type)
Adds the given string to the list of implements clauses. |
Iterator |
getConstructors()
Gets the list of constructors as an iterator of Constructor . |
java.lang.String |
getExtends()
Gets the extends clause. |
Iterator |
getFields()
Gets the list of fields as an iterator of ClassField . |
Iterator |
getImplements()
Gets the list of implementation clauses as an iterator of String . |
Iterator |
getInnerClasses()
Gets the list of inner classes as an iterator of InnerClass . |
Iterator |
getMethods()
Gets the list of method as an iterator of ClassMethod . |
Iterator |
getStaticInitializers()
Gets the list of static initializers as an iterator of StaticInitializer . |
boolean |
isAbstract()
Getter method for the isAbstract flag. |
void |
isAbstract(boolean value)
Setter method for the isAbstract flag. |
Constructor |
newConstructor()
Creates a new constructor in this class |
ClassField |
newField(Type type,
java.lang.String name)
Creates a new field in this class with the given type and name. |
InnerClass |
newInnerClass(java.lang.String name)
Creates a new inner class in this class. |
ClassMethod |
newMethod(Type type,
java.lang.String name)
Creates a new method in this class with the given type and name. |
StaticInitializer |
newStaticInitializer()
Creates a new static initialization block in this class |
void |
setExtends(java.lang.String type)
Sets the extends clause to the given string. |
Methods inherited from interface org.inxar.jenesis.TypeDeclaration |
getMembers, getUnit, load |
Methods inherited from interface org.inxar.jenesis.Member |
getName, isFinal, isFinal, isStatic, isStatic, setName |
Methods inherited from interface org.inxar.jenesis.Access |
getAccess, setAccess |
Methods inherited from interface org.inxar.jenesis.Declaration |
javadoc |
Methods inherited from interface org.inxar.jenesis.Codeable |
getComment, setComment, toCode, vm |
Method Detail |
public void isAbstract(boolean value)
public boolean isAbstract()
public void setExtends(java.lang.String type)
public java.lang.String getExtends()
public Iterator getImplements()
String
.public void addImplements(java.lang.String type)
public Iterator getConstructors()
Constructor
.public Iterator getStaticInitializers()
StaticInitializer
.public StaticInitializer newStaticInitializer()
public Constructor newConstructor()
public Iterator getInnerClasses()
InnerClass
.public InnerClass newInnerClass(java.lang.String name)
public ClassField newField(Type type, java.lang.String name)
public Iterator getFields()
ClassField
.public ClassMethod newMethod(Type type, java.lang.String name)
public Iterator getMethods()
ClassMethod
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |