< prev index next >

src/java.base/share/classes/jdk/internal/org/objectweb/asm/signature/SignatureVisitor.java

Print this page
rev 47452 : imported patch jdk-new-asmv6.patch

*** 100,122 **** */ public final static char INSTANCEOF = '='; /** * The ASM API version implemented by this visitor. The value of this field ! * must be one of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}. */ protected final int api; /** * Constructs a new {@link SignatureVisitor}. * * @param api * the ASM API version implemented by this visitor. Must be one ! * of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}. */ public SignatureVisitor(final int api) { ! if (api != Opcodes.ASM4 && api != Opcodes.ASM5) { throw new IllegalArgumentException(); } this.api = api; } --- 100,122 ---- */ public final static char INSTANCEOF = '='; /** * The ASM API version implemented by this visitor. The value of this field ! * must be one of {@link Opcodes#ASM4}, {@link Opcodes#ASM5} or {@link Opcodes#ASM6}. */ protected final int api; /** * Constructs a new {@link SignatureVisitor}. * * @param api * the ASM API version implemented by this visitor. Must be one ! * of {@link Opcodes#ASM4}, {@link Opcodes#ASM5} or {@link Opcodes#ASM6}. */ public SignatureVisitor(final int api) { ! if (api < Opcodes.ASM4 || api > Opcodes.ASM6) { throw new IllegalArgumentException(); } this.api = api; }
< prev index next >