@Test public void testMain_classFile() throws IOException { StringWriter output = new StringWriter(); StringWriter logger = new StringWriter(); String[] args = { ClassLoader.getSystemResource(getClass().getName().replace('.', '/') + ".class").getPath() }; Textifier.main(args, new PrintWriter(output, true), new PrintWriter(logger, true)); assertTrue(output.toString().contains("\npublic class org/objectweb/asm/util/TextifierTest")); assertEquals("", logger.toString()); }
public static void main(final String[] args) throws IOException { main(args, new PrintWriter(System.out, true), new PrintWriter(System.err, true)); }
Textifier extends Printer { public static void main(final String[] args) throws IOException { main(args, new PrintWriter(System.out, true), new PrintWriter(System.err, true)); } }
Textifier extends Printer { public static void main(final String[] args) throws IOException { main(args, new PrintWriter(System.out, true), new PrintWriter(System.err, true)); } Textifier(); protected  Textifier(final int api); }
Textifier extends Printer { public static void main(final String[] args) throws IOException { main(args, new PrintWriter(System.out, true), new PrintWriter(System.err, true)); } Textifier(); protected  Textifier(final int api); static void main(final String[] args); @Override void visit(
      final int version,
      final int access,
      final String name,
      final String signature,
      final String superName,
      final String[] interfaces); @Override void visitSource(final String file, final String debug); @Override Printer visitModule(final String name, final int access, final String version); @Override void visitNestHost(final String nestHost); @Override void visitOuterClass(final String owner, final String name, final String descriptor); @Override Textifier visitClassAnnotation(final String descriptor, final boolean visible); @Override Printer visitClassTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitClassAttribute(final Attribute attribute); @Override void visitNestMember(final String nestMember); @Override void visitInnerClass(
      final String name, final String outerName, final String innerName, final int access); @Override Textifier visitField(
      final int access,
      final String name,
      final String descriptor,
      final String signature,
      final Object value); @Override Textifier visitMethod(
      final int access,
      final String name,
      final String descriptor,
      final String signature,
      final String[] exceptions); @Override void visitClassEnd(); @Override void visitMainClass(final String mainClass); @Override void visitPackage(final String packaze); @Override void visitRequire(final String require, final int access, final String version); @Override void visitExport(final String packaze, final int access, final String... modules); @Override void visitOpen(final String packaze, final int access, final String... modules); @Override void visitUse(final String use); @Override void visitProvide(final String provide, final String... providers); @Override void visitModuleEnd(); @Override void visit(final String name, final Object value); @Override void visitEnum(final String name, final String descriptor, final String value); @Override Textifier visitAnnotation(final String name, final String descriptor); @Override Textifier visitArray(final String name); @Override void visitAnnotationEnd(); @Override Textifier visitFieldAnnotation(final String descriptor, final boolean visible); @Override Printer visitFieldTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitFieldAttribute(final Attribute attribute); @Override void visitFieldEnd(); @Override void visitParameter(final String name, final int access); @Override Textifier visitAnnotationDefault(); @Override Textifier visitMethodAnnotation(final String descriptor, final boolean visible); @Override Printer visitMethodTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override Textifier visitAnnotableParameterCount(final int parameterCount, final boolean visible); @Override Textifier visitParameterAnnotation(
      final int parameter, final String descriptor, final boolean visible); @Override void visitMethodAttribute(final Attribute attribute); @Override void visitCode(); @Override void visitFrame(
      final int type,
      final int numLocal,
      final Object[] local,
      final int numStack,
      final Object[] stack); @Override void visitInsn(final int opcode); @Override void visitIntInsn(final int opcode, final int operand); @Override void visitVarInsn(final int opcode, final int var); @Override void visitTypeInsn(final int opcode, final String type); @Override void visitFieldInsn(
      final int opcode, final String owner, final String name, final String descriptor); @Override void visitMethodInsn(
      final int opcode,
      final String owner,
      final String name,
      final String descriptor,
      final boolean isInterface); @Override void visitInvokeDynamicInsn(
      final String name,
      final String descriptor,
      final Handle bootstrapMethodHandle,
      final Object... bootstrapMethodArguments); @Override void visitJumpInsn(final int opcode, final Label label); @Override void visitLabel(final Label label); @Override void visitLdcInsn(final Object value); @Override void visitIincInsn(final int var, final int increment); @Override void visitTableSwitchInsn(
      final int min, final int max, final Label dflt, final Label... labels); @Override void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels); @Override void visitMultiANewArrayInsn(final String descriptor, final int numDimensions); @Override Printer visitInsnAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitTryCatchBlock(
      final Label start, final Label end, final Label handler, final String type); @Override Printer visitTryCatchAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitLocalVariable(
      final String name,
      final String descriptor,
      final String signature,
      final Label start,
      final Label end,
      final int index); @Override Printer visitLocalVariableAnnotation(
      final int typeRef,
      final TypePath typePath,
      final Label[] start,
      final Label[] end,
      final int[] index,
      final String descriptor,
      final boolean visible); @Override void visitLineNumber(final int line, final Label start); @Override void visitMaxs(final int maxStack, final int maxLocals); @Override void visitMethodEnd(); Textifier visitAnnotation(final String descriptor, final boolean visible); Textifier visitTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); void visitAttribute(final Attribute attribute); }
Textifier extends Printer { public static void main(final String[] args) throws IOException { main(args, new PrintWriter(System.out, true), new PrintWriter(System.err, true)); } Textifier(); protected  Textifier(final int api); static void main(final String[] args); @Override void visit(
      final int version,
      final int access,
      final String name,
      final String signature,
      final String superName,
      final String[] interfaces); @Override void visitSource(final String file, final String debug); @Override Printer visitModule(final String name, final int access, final String version); @Override void visitNestHost(final String nestHost); @Override void visitOuterClass(final String owner, final String name, final String descriptor); @Override Textifier visitClassAnnotation(final String descriptor, final boolean visible); @Override Printer visitClassTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitClassAttribute(final Attribute attribute); @Override void visitNestMember(final String nestMember); @Override void visitInnerClass(
      final String name, final String outerName, final String innerName, final int access); @Override Textifier visitField(
      final int access,
      final String name,
      final String descriptor,
      final String signature,
      final Object value); @Override Textifier visitMethod(
      final int access,
      final String name,
      final String descriptor,
      final String signature,
      final String[] exceptions); @Override void visitClassEnd(); @Override void visitMainClass(final String mainClass); @Override void visitPackage(final String packaze); @Override void visitRequire(final String require, final int access, final String version); @Override void visitExport(final String packaze, final int access, final String... modules); @Override void visitOpen(final String packaze, final int access, final String... modules); @Override void visitUse(final String use); @Override void visitProvide(final String provide, final String... providers); @Override void visitModuleEnd(); @Override void visit(final String name, final Object value); @Override void visitEnum(final String name, final String descriptor, final String value); @Override Textifier visitAnnotation(final String name, final String descriptor); @Override Textifier visitArray(final String name); @Override void visitAnnotationEnd(); @Override Textifier visitFieldAnnotation(final String descriptor, final boolean visible); @Override Printer visitFieldTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitFieldAttribute(final Attribute attribute); @Override void visitFieldEnd(); @Override void visitParameter(final String name, final int access); @Override Textifier visitAnnotationDefault(); @Override Textifier visitMethodAnnotation(final String descriptor, final boolean visible); @Override Printer visitMethodTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override Textifier visitAnnotableParameterCount(final int parameterCount, final boolean visible); @Override Textifier visitParameterAnnotation(
      final int parameter, final String descriptor, final boolean visible); @Override void visitMethodAttribute(final Attribute attribute); @Override void visitCode(); @Override void visitFrame(
      final int type,
      final int numLocal,
      final Object[] local,
      final int numStack,
      final Object[] stack); @Override void visitInsn(final int opcode); @Override void visitIntInsn(final int opcode, final int operand); @Override void visitVarInsn(final int opcode, final int var); @Override void visitTypeInsn(final int opcode, final String type); @Override void visitFieldInsn(
      final int opcode, final String owner, final String name, final String descriptor); @Override void visitMethodInsn(
      final int opcode,
      final String owner,
      final String name,
      final String descriptor,
      final boolean isInterface); @Override void visitInvokeDynamicInsn(
      final String name,
      final String descriptor,
      final Handle bootstrapMethodHandle,
      final Object... bootstrapMethodArguments); @Override void visitJumpInsn(final int opcode, final Label label); @Override void visitLabel(final Label label); @Override void visitLdcInsn(final Object value); @Override void visitIincInsn(final int var, final int increment); @Override void visitTableSwitchInsn(
      final int min, final int max, final Label dflt, final Label... labels); @Override void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels); @Override void visitMultiANewArrayInsn(final String descriptor, final int numDimensions); @Override Printer visitInsnAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitTryCatchBlock(
      final Label start, final Label end, final Label handler, final String type); @Override Printer visitTryCatchAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); @Override void visitLocalVariable(
      final String name,
      final String descriptor,
      final String signature,
      final Label start,
      final Label end,
      final int index); @Override Printer visitLocalVariableAnnotation(
      final int typeRef,
      final TypePath typePath,
      final Label[] start,
      final Label[] end,
      final int[] index,
      final String descriptor,
      final boolean visible); @Override void visitLineNumber(final int line, final Label start); @Override void visitMaxs(final int maxStack, final int maxLocals); @Override void visitMethodEnd(); Textifier visitAnnotation(final String descriptor, final boolean visible); Textifier visitTypeAnnotation(
      final int typeRef, final TypePath typePath, final String descriptor, final boolean visible); void visitAttribute(final Attribute attribute); static final int INTERNAL_NAME; static final int FIELD_DESCRIPTOR; static final int FIELD_SIGNATURE; static final int METHOD_DESCRIPTOR; static final int METHOD_SIGNATURE; static final int CLASS_SIGNATURE; static final int HANDLE_DESCRIPTOR; }