Java Code Examples for jdk.internal.org.objectweb.asm.MethodVisitor#visitParameter()
The following examples show how to use
jdk.internal.org.objectweb.asm.MethodVisitor#visitParameter() .
These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: Bytecoder File: ProxyGenerator.java License: Apache License 2.0 | 6 votes |
/** * Generate the constructor method for the proxy class. */ private void generateConstructor() { MethodVisitor ctor = visitMethod(Modifier.PUBLIC, NAME_CTOR, MJLR_INVOCATIONHANDLER, null, null); ctor.visitParameter(null, 0); ctor.visitCode(); ctor.visitVarInsn(ALOAD, 0); ctor.visitVarInsn(ALOAD, 1); ctor.visitMethodInsn(INVOKESPECIAL, JLR_PROXY, NAME_CTOR, MJLR_INVOCATIONHANDLER, false); ctor.visitInsn(RETURN); // Maxs computed by ClassWriter.COMPUTE_FRAMES, these arguments ignored ctor.visitMaxs(-1, -1); ctor.visitEnd(); }
Example 2
Source Project: dragonwell8_jdk File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 3
Source Project: TencentKona-8 File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 4
Source Project: jdk8u60 File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 5
Source Project: openjdk-jdk8u File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 6
Source Project: openjdk-jdk8u-backup File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 7
Source Project: Bytecoder File: ParameterNode.java License: Apache License 2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param methodVisitor a method visitor. */ public void accept(final MethodVisitor methodVisitor) { methodVisitor.visitParameter(name, access); }
Example 8
Source Project: openjdk-jdk9 File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 9
Source Project: jdk8u-jdk File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 10
Source Project: hottub File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 11
Source Project: openjdk-8-source File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 12
Source Project: openjdk-8 File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 13
Source Project: jdk8u_jdk File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 14
Source Project: jdk8u-jdk File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }
Example 15
Source Project: jdk8u-dev-jdk File: ParameterNode.java License: GNU General Public License v2.0 | 2 votes |
/** * Makes the given visitor visit this parameter declaration. * * @param mv * a method visitor. */ public void accept(final MethodVisitor mv) { mv.visitParameter(name, access); }