src/share/classes/jdk/internal/org/objectweb/asm/util/TraceSignatureVisitor.java

Print this page

        

*** 102,118 **** private int arrayStack; private String separator = ""; public TraceSignatureVisitor(final int access) { ! super(Opcodes.ASM4); isInterface = (access & Opcodes.ACC_INTERFACE) != 0; this.declaration = new StringBuffer(); } private TraceSignatureVisitor(final StringBuffer buf) { ! super(Opcodes.ASM4); this.declaration = buf; } @Override public void visitFormalTypeParameter(final String name) { --- 102,118 ---- private int arrayStack; private String separator = ""; public TraceSignatureVisitor(final int access) { ! super(Opcodes.ASM5); isInterface = (access & Opcodes.ACC_INTERFACE) != 0; this.declaration = new StringBuffer(); } private TraceSignatureVisitor(final StringBuffer buf) { ! super(Opcodes.ASM5); this.declaration = buf; } @Override public void visitFormalTypeParameter(final String name) {
*** 144,155 **** return this; } @Override public SignatureVisitor visitInterface() { ! separator = seenInterface ? ", " : isInterface ! ? " extends " : " implements "; seenInterface = true; startType(); return this; } --- 144,154 ---- return this; } @Override public SignatureVisitor visitInterface() { ! separator = seenInterface ? ", " : isInterface ? " extends " : " implements "; seenInterface = true; startType(); return this; }