Class BootstrapMethod

    • Constructor Detail

      • BootstrapMethod

        public BootstrapMethod​(BootstrapMethod c)
        Initialize from another object.
      • BootstrapMethod

        public BootstrapMethod​(int bootstrapMethodRef,
                               int[] bootstrapArguments)
        Parameters:
        bootstrapMethodRef - int index into constant_pool of CONSTANT_MethodHandle
        bootstrapArguments - int[] indices into constant_pool of CONSTANT_[type]_info
    • Method Detail

      • getBootstrapMethodRef

        public int getBootstrapMethodRef()
        Returns:
        index into constant_pool of bootstrap_method
      • setBootstrapMethodRef

        public void setBootstrapMethodRef​(int bootstrapMethodRef)
        Parameters:
        bootstrapMethodRef - int index into constant_pool of CONSTANT_MethodHandle
      • getBootstrapArguments

        public int[] getBootstrapArguments()
        Returns:
        int[] of bootstrap_method indices into constant_pool of CONSTANT_[type]_info
      • getNumBootstrapArguments

        public int getNumBootstrapArguments()
        Returns:
        count of number of boostrap arguments
      • setBootstrapArguments

        public void setBootstrapArguments​(int[] bootstrapArguments)
        Parameters:
        bootstrapArguments - int[] indices into constant_pool of CONSTANT_[type]_info
      • toString

        public final String toString()
        Overrides:
        toString in class Object
        Returns:
        String representation.
      • toString

        public final String toString​(ConstantPool constantPool)
        Returns:
        Resolved string representation