Class LoggableTextifier
java.lang.Object
org.objectweb.asm.util.Printer
org.objectweb.asm.util.Textifier
org.codehaus.groovy.classgen.asm.util.LoggableTextifier
public class LoggableTextifier
extends org.objectweb.asm.util.Textifier
Logging bytecode generation, which can make debugging easy
- Since:
- 2.5.0
- 
Field SummaryFields inherited from class org.objectweb.asm.util.TextifierCLASS_SIGNATURE, FIELD_DESCRIPTOR, FIELD_SIGNATURE, HANDLE_DESCRIPTOR, INTERNAL_NAME, labelNames, ltab, METHOD_DESCRIPTOR, METHOD_SIGNATURE, tab, tab2, tab3Fields inherited from class org.objectweb.asm.util.Printerapi, HANDLE_TAG, OPCODES, stringBuilder, text, TYPES
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.objectweb.asm.util.Textifierprotected voidlog()voidvisit(int version, int access, String name, String signature, String superName, String[] interfaces) voidorg.objectweb.asm.util.TextifiervisitAnnotableParameterCount(int parameterCount, boolean visible) org.objectweb.asm.util.TextifiervisitAnnotation(String desc, boolean visible) org.objectweb.asm.util.TextifiervisitAnnotation(String name, String desc) org.objectweb.asm.util.Textifiervoidorg.objectweb.asm.util.TextifiervisitArray(String name) voidvisitAttribute(org.objectweb.asm.Attribute attr) org.objectweb.asm.util.TextifiervisitClassAnnotation(String desc, boolean visible) voidvisitClassAttribute(org.objectweb.asm.Attribute attr) voidorg.objectweb.asm.util.PrintervisitClassTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) voidvoidvoidvisitExport(String export, int access, String... modules) org.objectweb.asm.util.TextifiervisitField(int access, String name, String desc, String signature, Object value) org.objectweb.asm.util.TextifiervisitFieldAnnotation(String desc, boolean visible) voidvisitFieldAttribute(org.objectweb.asm.Attribute attr) voidvoidvisitFieldInsn(int opcode, String owner, String name, String desc) org.objectweb.asm.util.PrintervisitFieldTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) voidvisitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) voidvisitIincInsn(int varIndex, int increment) voidvisitInnerClass(String name, String outerName, String innerName, int access) voidvisitInsn(int opcode) org.objectweb.asm.util.PrintervisitInsnAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) voidvisitIntInsn(int opcode, int operand) voidvisitInvokeDynamicInsn(String name, String desc, org.objectweb.asm.Handle bsm, Object... bsmArgs) voidvisitJumpInsn(int opcode, org.objectweb.asm.Label label) voidvisitLabel(org.objectweb.asm.Label label) voidvisitLdcInsn(Object cst) voidvisitLineNumber(int line, org.objectweb.asm.Label start) voidvisitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) org.objectweb.asm.util.PrintervisitLocalVariableAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] index, String desc, boolean visible) voidvisitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) voidvisitMainClass(String mainClass) voidvisitMaxs(int maxStack, int maxLocals) org.objectweb.asm.util.TextifiervisitMethod(int access, String name, String desc, String signature, String[] exceptions) org.objectweb.asm.util.TextifiervisitMethodAnnotation(String desc, boolean visible) voidvisitMethodAttribute(org.objectweb.asm.Attribute attr) voidvoidvisitMethodInsn(int opcode, String owner, String name, String desc) Deprecated.voidvisitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) org.objectweb.asm.util.PrintervisitMethodTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) org.objectweb.asm.util.PrintervisitModule(String name, int access, String version) voidvoidvisitMultiANewArrayInsn(String desc, int dims) voidvisitNestHost(String nestHost) voidvisitNestMember(String nestMember) voidvoidvisitOuterClass(String owner, String name, String desc) voidvisitPackage(String packaze) voidvisitParameter(String name, int access) org.objectweb.asm.util.TextifiervisitParameterAnnotation(int parameter, String desc, boolean visible) voidvisitPermittedSubclass(String permittedSubclass) voidvisitProvide(String provide, String... providers) org.objectweb.asm.util.PrintervisitRecordComponent(String name, String descriptor, String signature) org.objectweb.asm.util.TextifiervisitRecordComponentAnnotation(String descriptor, boolean visible) voidvisitRecordComponentAttribute(org.objectweb.asm.Attribute attribute) voidorg.objectweb.asm.util.PrintervisitRecordComponentTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) voidvisitRequire(String require, int access, String version) voidvisitSource(String file, String debug) voidvisitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) org.objectweb.asm.util.PrintervisitTryCatchAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) voidvisitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String type) org.objectweb.asm.util.TextifiervisitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) voidvisitTypeInsn(int opcode, String type) voidvoidvisitVarInsn(int opcode, int varIndex) Methods inherited from class org.objectweb.asm.util.TextifierappendDescriptor, appendHandle, appendHandle, appendLabel, mainMethods inherited from class org.objectweb.asm.util.PrinterappendString, getText, print
- 
Constructor Details- 
LoggableTextifierpublic LoggableTextifier()
- 
LoggableTextifier
 
- 
- 
Method Details- 
createTextifierprotected org.objectweb.asm.util.Textifier createTextifier()- Overrides:
- createTextifierin class- org.objectweb.asm.util.Textifier
 
- 
logprotected void log()
- 
visitpublic void visit(int version, int access, String name, String signature, String superName, String[] interfaces) - Overrides:
- visitin class- org.objectweb.asm.util.Textifier
 
- 
visitSource- Overrides:
- visitSourcein class- org.objectweb.asm.util.Textifier
 
- 
visitModule- Overrides:
- visitModulein class- org.objectweb.asm.util.Textifier
 
- 
visitOuterClass- Overrides:
- visitOuterClassin class- org.objectweb.asm.util.Textifier
 
- 
visitClassAnnotation- Overrides:
- visitClassAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitClassTypeAnnotationpublic org.objectweb.asm.util.Printer visitClassTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
- visitClassTypeAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitClassAttributepublic void visitClassAttribute(org.objectweb.asm.Attribute attr) - Overrides:
- visitClassAttributein class- org.objectweb.asm.util.Textifier
 
- 
visitInnerClass- Overrides:
- visitInnerClassin class- org.objectweb.asm.util.Textifier
 
- 
visitFieldpublic org.objectweb.asm.util.Textifier visitField(int access, String name, String desc, String signature, Object value) - Overrides:
- visitFieldin class- org.objectweb.asm.util.Textifier
 
- 
visitMethodpublic org.objectweb.asm.util.Textifier visitMethod(int access, String name, String desc, String signature, String[] exceptions) - Overrides:
- visitMethodin class- org.objectweb.asm.util.Textifier
 
- 
visitClassEndpublic void visitClassEnd()- Overrides:
- visitClassEndin class- org.objectweb.asm.util.Textifier
 
- 
visitRequire- Overrides:
- visitRequirein class- org.objectweb.asm.util.Textifier
 
- 
visitExport- Overrides:
- visitExportin class- org.objectweb.asm.util.Textifier
 
- 
visitUse- Overrides:
- visitUsein class- org.objectweb.asm.util.Textifier
 
- 
visitProvide- Overrides:
- visitProvidein class- org.objectweb.asm.util.Textifier
 
- 
visitModuleEndpublic void visitModuleEnd()- Overrides:
- visitModuleEndin class- org.objectweb.asm.util.Textifier
 
- 
visit- Overrides:
- visitin class- org.objectweb.asm.util.Textifier
 
- 
visitEnum- Overrides:
- visitEnumin class- org.objectweb.asm.util.Textifier
 
- 
visitAnnotation- Overrides:
- visitAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitArray- Overrides:
- visitArrayin class- org.objectweb.asm.util.Textifier
 
- 
visitAnnotationEndpublic void visitAnnotationEnd()- Overrides:
- visitAnnotationEndin class- org.objectweb.asm.util.Textifier
 
- 
visitFieldAnnotation- Overrides:
- visitFieldAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitFieldTypeAnnotationpublic org.objectweb.asm.util.Printer visitFieldTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
- visitFieldTypeAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitFieldAttributepublic void visitFieldAttribute(org.objectweb.asm.Attribute attr) - Overrides:
- visitFieldAttributein class- org.objectweb.asm.util.Textifier
 
- 
visitFieldEndpublic void visitFieldEnd()- Overrides:
- visitFieldEndin class- org.objectweb.asm.util.Textifier
 
- 
visitParameter- Overrides:
- visitParameterin class- org.objectweb.asm.util.Textifier
 
- 
visitAnnotationDefaultpublic org.objectweb.asm.util.Textifier visitAnnotationDefault()- Overrides:
- visitAnnotationDefaultin class- org.objectweb.asm.util.Textifier
 
- 
visitMethodAnnotation- Overrides:
- visitMethodAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitMethodTypeAnnotationpublic org.objectweb.asm.util.Printer visitMethodTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
- visitMethodTypeAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitParameterAnnotationpublic org.objectweb.asm.util.Textifier visitParameterAnnotation(int parameter, String desc, boolean visible) - Overrides:
- visitParameterAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitMethodAttributepublic void visitMethodAttribute(org.objectweb.asm.Attribute attr) - Overrides:
- visitMethodAttributein class- org.objectweb.asm.util.Textifier
 
- 
visitCodepublic void visitCode()- Overrides:
- visitCodein class- org.objectweb.asm.util.Textifier
 
- 
visitFrame- Overrides:
- visitFramein class- org.objectweb.asm.util.Textifier
 
- 
visitInsnpublic void visitInsn(int opcode) - Overrides:
- visitInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitIntInsnpublic void visitIntInsn(int opcode, int operand) - Overrides:
- visitIntInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitVarInsnpublic void visitVarInsn(int opcode, int varIndex) - Overrides:
- visitVarInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitTypeInsn- Overrides:
- visitTypeInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitFieldInsn- Overrides:
- visitFieldInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitMethodInsnDeprecated.- Overrides:
- visitMethodInsnin class- org.objectweb.asm.util.Printer
 
- 
visitMethodInsn- Overrides:
- visitMethodInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitInvokeDynamicInsnpublic void visitInvokeDynamicInsn(String name, String desc, org.objectweb.asm.Handle bsm, Object... bsmArgs) - Overrides:
- visitInvokeDynamicInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitJumpInsnpublic void visitJumpInsn(int opcode, org.objectweb.asm.Label label) - Overrides:
- visitJumpInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitLabelpublic void visitLabel(org.objectweb.asm.Label label) - Overrides:
- visitLabelin class- org.objectweb.asm.util.Textifier
 
- 
visitLdcInsn- Overrides:
- visitLdcInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitIincInsnpublic void visitIincInsn(int varIndex, int increment) - Overrides:
- visitIincInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitTableSwitchInsnpublic void visitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) - Overrides:
- visitTableSwitchInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitLookupSwitchInsnpublic void visitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) - Overrides:
- visitLookupSwitchInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitMultiANewArrayInsn- Overrides:
- visitMultiANewArrayInsnin class- org.objectweb.asm.util.Textifier
 
- 
visitInsnAnnotationpublic org.objectweb.asm.util.Printer visitInsnAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
- visitInsnAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitTryCatchBlockpublic void visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String type) - Overrides:
- visitTryCatchBlockin class- org.objectweb.asm.util.Textifier
 
- 
visitTryCatchAnnotationpublic org.objectweb.asm.util.Printer visitTryCatchAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
- visitTryCatchAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitLocalVariablepublic void visitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) - Overrides:
- visitLocalVariablein class- org.objectweb.asm.util.Textifier
 
- 
visitLocalVariableAnnotationpublic org.objectweb.asm.util.Printer visitLocalVariableAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] index, String desc, boolean visible) - Overrides:
- visitLocalVariableAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitLineNumberpublic void visitLineNumber(int line, org.objectweb.asm.Label start) - Overrides:
- visitLineNumberin class- org.objectweb.asm.util.Textifier
 
- 
visitMaxspublic void visitMaxs(int maxStack, int maxLocals) - Overrides:
- visitMaxsin class- org.objectweb.asm.util.Textifier
 
- 
visitMethodEndpublic void visitMethodEnd()- Overrides:
- visitMethodEndin class- org.objectweb.asm.util.Textifier
 
- 
visitAnnotation- Overrides:
- visitAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitTypeAnnotationpublic org.objectweb.asm.util.Textifier visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
- visitTypeAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitAttributepublic void visitAttribute(org.objectweb.asm.Attribute attr) - Overrides:
- visitAttributein class- org.objectweb.asm.util.Textifier
 
- 
visitNestHost- Overrides:
- visitNestHostin class- org.objectweb.asm.util.Textifier
 
- 
visitNestMember- Overrides:
- visitNestMemberin class- org.objectweb.asm.util.Textifier
 
- 
visitMainClass- Overrides:
- visitMainClassin class- org.objectweb.asm.util.Textifier
 
- 
visitPackage- Overrides:
- visitPackagein class- org.objectweb.asm.util.Textifier
 
- 
visitOpen- Overrides:
- visitOpenin class- org.objectweb.asm.util.Textifier
 
- 
visitAnnotableParameterCountpublic org.objectweb.asm.util.Textifier visitAnnotableParameterCount(int parameterCount, boolean visible) - Overrides:
- visitAnnotableParameterCountin class- org.objectweb.asm.util.Textifier
 
- 
visitRecordComponentpublic org.objectweb.asm.util.Printer visitRecordComponent(String name, String descriptor, String signature) - Overrides:
- visitRecordComponentin class- org.objectweb.asm.util.Textifier
 
- 
visitRecordComponentAnnotationpublic org.objectweb.asm.util.Textifier visitRecordComponentAnnotation(String descriptor, boolean visible) - Overrides:
- visitRecordComponentAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitRecordComponentTypeAnnotationpublic org.objectweb.asm.util.Printer visitRecordComponentTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
- visitRecordComponentTypeAnnotationin class- org.objectweb.asm.util.Textifier
 
- 
visitRecordComponentAttributepublic void visitRecordComponentAttribute(org.objectweb.asm.Attribute attribute) - Overrides:
- visitRecordComponentAttributein class- org.objectweb.asm.util.Textifier
 
- 
visitRecordComponentEndpublic void visitRecordComponentEnd()- Overrides:
- visitRecordComponentEndin class- org.objectweb.asm.util.Textifier
 
- 
visitPermittedSubclass- Overrides:
- visitPermittedSubclassin class- org.objectweb.asm.util.Textifier
 
 
-