|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.transform.Klass
The AspectWerkz class concept.
Contains informations and data about the class being transformed.
Constructor Summary | |
Klass(java.lang.String name,
byte[] bytecode)
Creates a new class. |
Method Summary | |
static org.apache.bcel.generic.ClassGen |
fromByte(byte[] bytecode)
Transforms byte code to a BCEL class gen. |
byte[] |
getBytecode()
Returns the byte code for the class. |
org.apache.bcel.generic.ClassGen |
getClassGen()
Returns the BCEL class gen for the class. |
org.apache.bcel.generic.ClassGen |
getInitialClassGen()
Returns the BCEL initial class gen for the class. |
java.lang.String |
getName()
Returns the name of the class. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Klass(java.lang.String name, byte[] bytecode) throws java.io.IOException, org.apache.bcel.classfile.ClassFormatException
name
- the namebytecode
- the byte code
java.io.IOException
org.apache.bcel.classfile.ClassFormatException
Method Detail |
public java.lang.String getName()
public org.apache.bcel.generic.ClassGen getClassGen()
public org.apache.bcel.generic.ClassGen getInitialClassGen() throws java.io.IOException
java.io.IOException
public byte[] getBytecode()
public static org.apache.bcel.generic.ClassGen fromByte(byte[] bytecode) throws java.io.IOException, org.apache.bcel.classfile.ClassFormatException
bytecode
- the byte code
java.io.IOException
org.apache.bcel.classfile.ClassFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |