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.


Fields inherited from interface org.inxar.jenesis.Access
PACKAGE, PRIVATE, PROTECTED, PUBLIC
 
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.
 
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

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.