org.logicalcobwebs.cglib.core
Class DebuggingClassWriter
java.lang.Object
org.logicalcobwebs.asm.ClassWriter
org.logicalcobwebs.cglib.core.DebuggingClassWriter
- All Implemented Interfaces:
- ClassVisitor
- public class DebuggingClassWriter
- extends ClassWriter
Fields inherited from class org.logicalcobwebs.asm.ClassWriter |
|
Method Summary |
java.lang.String |
getClassName()
|
java.lang.String |
getSuperName()
|
byte[] |
toByteArray()
Returns the bytecode of the class that was build with this class writer. |
void |
visit(int access,
java.lang.String name,
java.lang.String superName,
java.lang.String[] interfaces,
java.lang.String sourceFile)
Visits the header of the class. |
Methods inherited from class org.logicalcobwebs.asm.ClassWriter |
newClass, newCst, newField, newMethod, newNameType, newUTF8, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, writeAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG_LOCATION_PROPERTY
public static final java.lang.String DEBUG_LOCATION_PROPERTY
- See Also:
- Constant Field Values
debugLocation
private static java.lang.String debugLocation
traceEnabled
private static boolean traceEnabled
className
private java.lang.String className
superName
private java.lang.String superName
DebuggingClassWriter
public DebuggingClassWriter(boolean computeMaxs)
visit
public void visit(int access,
java.lang.String name,
java.lang.String superName,
java.lang.String[] interfaces,
java.lang.String sourceFile)
- Description copied from interface:
ClassVisitor
- Visits the header of the class.
- Specified by:
visit
in interface ClassVisitor
- Overrides:
visit
in class ClassWriter
getClassName
public java.lang.String getClassName()
getSuperName
public java.lang.String getSuperName()
toByteArray
public byte[] toByteArray()
- Description copied from class:
ClassWriter
- Returns the bytecode of the class that was build with this class writer.
- Overrides:
toByteArray
in class ClassWriter
- Returns:
- the bytecode of the class that was build with this class writer.