Class BootstrapMethods

java.lang.Object
org.apache.bcel.classfile.Attribute
org.apache.bcel.classfile.BootstrapMethods
All Implemented Interfaces:
Cloneable, Iterable<BootstrapMethod>, Node

public class BootstrapMethods extends Attribute implements Iterable<BootstrapMethod>
This class represents a BootstrapMethods attribute.
Since:
6.0
See Also:
  • Constructor Details

    • BootstrapMethods

      Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.
      Parameters:
      c - Source to copy.
    • BootstrapMethods

      public BootstrapMethods(int nameIndex, int length, BootstrapMethod[] bootstrapMethods, ConstantPool constantPool)
      Parameters:
      nameIndex - Index in constant pool to CONSTANT_Utf8
      length - Content length in bytes
      bootstrapMethods - array of bootstrap methods
      constantPool - Array of constants
  • Method Details