Java Code Examples for jdk.internal.org.objectweb.asm.Opcodes#INVOKEDYNAMIC

The following examples show how to use jdk.internal.org.objectweb.asm.Opcodes#INVOKEDYNAMIC . 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 File: InvokeDynamicInsnNode.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
  * Constructs a new {@link InvokeDynamicInsnNode}.
  *
  * @param name the method's name.
  * @param descriptor the method's descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
  * @param bootstrapMethodHandle the bootstrap method.
  * @param bootstrapMethodArguments the bootstrap method constant arguments. Each argument must be
  *     an {@link Integer}, {@link Float}, {@link Long}, {@link Double}, {@link String}, {@link
  *     jdk.internal.org.objectweb.asm.Type} or {@link Handle} value. This method is allowed to modify the
  *     content of the array so a caller should expect that this array may change.
  */
public InvokeDynamicInsnNode(
        final String name,
        final String descriptor,
        final Handle bootstrapMethodHandle,
        final Object... bootstrapMethodArguments) { // NOPMD(ArrayIsStoredDirectly): public field.
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = descriptor;
    this.bsm = bootstrapMethodHandle;
    this.bsmArgs = bootstrapMethodArguments;
}
 
Example 2
Source File: InvokeDynamicInsnNode.java    From nashorn with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name invokedynamic name.
 * @param desc invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm the bootstrap method.
 * @param bsmArgs the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(
    final String name,
    final String desc,
    final Handle bsm,
    final Object... bsmArgs)
{
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 3
Source File: InvokeDynamicInsnNode.java    From dragonwell8_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 4
Source File: InvokeDynamicInsnNode.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 5
Source File: InvokeDynamicInsnNode.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 6
Source File: InvokeDynamicInsnNode.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 7
Source File: InvokeDynamicInsnNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 8
Source File: InvokeDynamicInsnNode.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 9
Source File: InvokeDynamicInsnNode.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 10
Source File: InvokeDynamicInsnNode.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 11
Source File: InvokeDynamicInsnNode.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 12
Source File: InvokeDynamicInsnNode.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 13
Source File: InvokeDynamicInsnNode.java    From jdk8u_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 14
Source File: InvokeDynamicInsnNode.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}
 
Example 15
Source File: InvokeDynamicInsnNode.java    From jdk8u-dev-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Constructs a new {@link InvokeDynamicInsnNode}.
 *
 * @param name
 *            invokedynamic name.
 * @param desc
 *            invokedynamic descriptor (see {@link jdk.internal.org.objectweb.asm.Type}).
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the boostrap constant arguments.
 */
public InvokeDynamicInsnNode(final String name, final String desc,
        final Handle bsm, final Object... bsmArgs) {
    super(Opcodes.INVOKEDYNAMIC);
    this.name = name;
    this.desc = desc;
    this.bsm = bsm;
    this.bsmArgs = bsmArgs;
}