Class BootstrapMethodInfo

java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.BootstrapMethodInfo
All Implemented Interfaces:
Serializable, Processable

public class BootstrapMethodInfo extends SimpleProcessable
Representation of a bootstrap method.
See Also:
  • Field Details

    • FLAG_BRIDGES

      public static final int FLAG_BRIDGES
      See Also:
    • FLAG_MARKERS

      public static final int FLAG_MARKERS
      See Also:
    • FLAG_SERIALIZABLE

      public static final int FLAG_SERIALIZABLE
      See Also:
    • u2methodHandleIndex

      public int u2methodHandleIndex
    • u2methodArgumentCount

      public int u2methodArgumentCount
    • u2methodArguments

      public int[] u2methodArguments
  • Constructor Details

    • BootstrapMethodInfo

      public BootstrapMethodInfo()
      Creates an uninitialized BootstrapMethodInfo.
    • BootstrapMethodInfo

      public BootstrapMethodInfo(int u2methodHandleIndex, int u2methodArgumentCount, int[] u2methodArguments)
      Creates an initialized BootstrapMethodInfo.
  • Method Details

    • methodHandleAccept

      public void methodHandleAccept(Clazz clazz, ConstantVisitor constantVisitor)
      Applies the given constant pool visitor to the method handle of the bootstrap method.
    • methodArgumentsAccept

      public void methodArgumentsAccept(Clazz clazz, ConstantVisitor constantVisitor)
      Applies the given constant pool visitor to the argument constants of the bootstrap method.