Class InvokeDynamicInstruction

    • Constructor Detail

    • Method Detail

      • isPEI

        public boolean isPEI()
        Description copied from interface: IInstruction
        PEI == "Potentially excepting instruction"
        Specified by:
        isPEI in interface IInstruction
        Returns:
        true iff this instruction might throw an exception
      • getPushedType

        public final java.lang.String getPushedType​(java.lang.String[] types)
        Description copied from class: Instruction
        Computes the type of data pushed onto the stack, or null if none is pushed.
        Specified by:
        getPushedType in interface IInstruction
        Overrides:
        getPushedType in class Instruction
        Parameters:
        types - the types of the data popped off the stack by this instruction; if poppedTypes is null, then we don't know the incoming stack types and the result of this method may be less accurate
      • getPushedWordSize

        public final byte getPushedWordSize()
        Specified by:
        getPushedWordSize in interface IInstruction
        Overrides:
        getPushedWordSize in class Instruction
        Returns:
        the JVM word size of the value this instruction pushes onto the stack, or 0 if this instruction doesn't push anything onto the stack.
      • bootstrap

        public java.lang.invoke.CallSite bootstrap​(java.lang.Class<?> cl)
                                            throws java.lang.ClassNotFoundException,
                                                   java.lang.NoSuchMethodException,
                                                   java.lang.SecurityException,
                                                   java.lang.IllegalAccessException,
                                                   java.lang.IllegalArgumentException,
                                                   java.lang.reflect.InvocationTargetException,
                                                   java.lang.NoSuchFieldException
        Throws:
        java.lang.ClassNotFoundException
        java.lang.NoSuchMethodException
        java.lang.SecurityException
        java.lang.IllegalAccessException
        java.lang.IllegalArgumentException
        java.lang.reflect.InvocationTargetException
        java.lang.NoSuchFieldException
      • makeMethodType

        public static java.lang.invoke.MethodType makeMethodType​(java.lang.ClassLoader classLoader,
                                                                 java.lang.String descriptor)
                                                          throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException