125 * @param access
126 * the method's access flags (see {@link Opcodes}). This
127 * parameter also indicates if the method is synthetic and/or
128 * deprecated.
129 * @param name
130 * the method's name.
131 * @param desc
132 * the method's descriptor (see {@link Type}).
133 * @param signature
134 * the method's signature. May be <tt>null</tt>.
135 * @param exceptions
136 * the internal names of the method's exception classes (see
137 * {@link Type#getInternalName() getInternalName}). May be
138 * <tt>null</tt>.
139 * @throws IllegalStateException
140 * If a subclass calls this constructor.
141 */
142 public JSRInlinerAdapter(final MethodVisitor mv, final int access,
143 final String name, final String desc, final String signature,
144 final String[] exceptions) {
145 this(Opcodes.ASM5, mv, access, name, desc, signature, exceptions);
146 if (getClass() != JSRInlinerAdapter.class) {
147 throw new IllegalStateException();
148 }
149 }
150
151 /**
152 * Creates a new JSRInliner.
153 *
154 * @param api
155 * the ASM API version implemented by this visitor. Must be one
156 * of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}.
157 * @param mv
158 * the <code>MethodVisitor</code> to send the resulting inlined
159 * method code to (use <code>null</code> for none).
160 * @param access
161 * the method's access flags (see {@link Opcodes}). This
162 * parameter also indicates if the method is synthetic and/or
163 * deprecated.
164 * @param name
165 * the method's name.
166 * @param desc
167 * the method's descriptor (see {@link Type}).
168 * @param signature
169 * the method's signature. May be <tt>null</tt>.
170 * @param exceptions
171 * the internal names of the method's exception classes (see
172 * {@link Type#getInternalName() getInternalName}). May be
173 * <tt>null</tt>.
174 */
175 protected JSRInlinerAdapter(final int api, final MethodVisitor mv,
176 final int access, final String name, final String desc,
|
125 * @param access
126 * the method's access flags (see {@link Opcodes}). This
127 * parameter also indicates if the method is synthetic and/or
128 * deprecated.
129 * @param name
130 * the method's name.
131 * @param desc
132 * the method's descriptor (see {@link Type}).
133 * @param signature
134 * the method's signature. May be <tt>null</tt>.
135 * @param exceptions
136 * the internal names of the method's exception classes (see
137 * {@link Type#getInternalName() getInternalName}). May be
138 * <tt>null</tt>.
139 * @throws IllegalStateException
140 * If a subclass calls this constructor.
141 */
142 public JSRInlinerAdapter(final MethodVisitor mv, final int access,
143 final String name, final String desc, final String signature,
144 final String[] exceptions) {
145 this(Opcodes.ASM6, mv, access, name, desc, signature, exceptions);
146 if (getClass() != JSRInlinerAdapter.class) {
147 throw new IllegalStateException();
148 }
149 }
150
151 /**
152 * Creates a new JSRInliner.
153 *
154 * @param api
155 * the ASM API version implemented by this visitor. Must be one
156 * of {@link Opcodes#ASM4}, {@link Opcodes#ASM5} or {@link Opcodes#ASM6}.
157 * @param mv
158 * the <code>MethodVisitor</code> to send the resulting inlined
159 * method code to (use <code>null</code> for none).
160 * @param access
161 * the method's access flags (see {@link Opcodes}). This
162 * parameter also indicates if the method is synthetic and/or
163 * deprecated.
164 * @param name
165 * the method's name.
166 * @param desc
167 * the method's descriptor (see {@link Type}).
168 * @param signature
169 * the method's signature. May be <tt>null</tt>.
170 * @param exceptions
171 * the internal names of the method's exception classes (see
172 * {@link Type#getInternalName() getInternalName}). May be
173 * <tt>null</tt>.
174 */
175 protected JSRInlinerAdapter(final int api, final MethodVisitor mv,
176 final int access, final String name, final String desc,
|