Class BootstrapMethod


  • public class BootstrapMethod
    extends Object
    Represents a bootstrap method entry in the BootstrapMethods attribute.
    • Constructor Detail

      • BootstrapMethod

        public BootstrapMethod​(int bootstrapMethodRef,
                               List<Integer> bootstrapArguments)
        Constructs a bootstrap method entry.
        Parameters:
        bootstrapMethodRef - constant pool index to the method handle
        bootstrapArguments - list of constant pool indices for arguments
    • Method Detail

      • getBootstrapMethodRef

        public int getBootstrapMethodRef()
        Returns:
        the bootstrap method ref
      • getBootstrapArguments

        public List<Integer> getBootstrapArguments()
        Returns:
        the bootstrap arguments