org.inxar.jenesis
Interface TypeDeclaration
- All Superinterfaces:
- Access, Codeable, Declaration, Member
- All Known Subinterfaces:
- ClassDeclaration, InnerClass, Interface, LocalClass, NewAnonymousClass, PackageClass
- public interface TypeDeclaration
- extends Member
Declaration
subinterface for type declaration
including class and interface delcarations.
Method Summary |
Iterator |
getMembers()
Returns the list of member declarations as an iterator of
Member . |
CompilationUnit |
getUnit()
Returns the enclosing compilation unit. |
java.lang.Class |
load()
Generates the source code file, compiles the result, and
instantiates the class. |
load
public java.lang.Class load()
throws java.lang.ClassNotFoundException
- Generates the source code file, compiles the result, and
instantiates the class.
getMembers
public Iterator getMembers()
- Returns the list of member declarations as an iterator of
Member
.
getUnit
public CompilationUnit getUnit()
- Returns the enclosing compilation unit.