Class BootstrapMethodArgumentsList

All Implemented Interfaces:
ToHuman

public class BootstrapMethodArgumentsList extends FixedSizeList
List of bootstrap method arguments, which are part of the contents of BootstrapMethods attributes.
  • Constructor Details

    • BootstrapMethodArgumentsList

      public BootstrapMethodArgumentsList(int count)
      Constructs an instance.
      Parameters:
      count - the number of elements to be in the list
  • Method Details

    • get

      public Constant get(int n)
      Gets the bootstrap argument from the indicated position.
      Parameters:
      n - position of argument to get
      Returns:
      Constant instance
    • set

      public void set(int n, Constant cst)
      Sets the bootstrap argument at the indicated position.
      Parameters:
      n - position of argument to set
      cst - Constant instance