| java.lang.Object instantj.compile.CompiledClass
CompiledClass | public class CompiledClass implements Serializable(Code) | | (C) 2002 Andy Thomas
This class represents a single compilation source files class instance.
This includes the classes name and the bytes that form the class.
|
CompiledClass | public CompiledClass(String name, byte[] bytecode)(Code) | | Constructor
|
addDependencies | public void addDependencies(Collection add)(Code) | | Add dependencies (other CompiledClasses)
|
addInnerClasses | public void addInnerClasses(Collection add)(Code) | | Method addInnerClasses.
Parameters: inners - |
getByteCode | public byte[] getByteCode()(Code) | | Returns the code.
byte[] |
getName | public String getName()(Code) | | Returns the name.
String |
getType | public Class getType()(Code) | | Returns a (new) java type for this compiled class. The classloader
used wraps
Thread.currentThread().getContextClassLoader() if not null
getClass().getClassLoader() otherwise
and will return the same type for that classloader on successive calls.
|
|
|