Class ConstantDynamic


  • public class ConstantDynamic
    extends Object
    Represents a CONSTANT_Dynamic entry structure in the constant pool.
    • Constructor Detail

      • ConstantDynamic

        public ConstantDynamic​(int bootstrapMethodAttrIndex,
                               int nameAndTypeIndex)
        Parameters:
        bootstrapMethodAttrIndex - index into the BootstrapMethods attribute
        nameAndTypeIndex - CONSTANT_NameAndType index for the constant's name and descriptor
    • Method Detail

      • getBootstrapMethodAttrIndex

        public int getBootstrapMethodAttrIndex()
        Returns:
        the bootstrap method attr index
      • getNameAndTypeIndex

        public int getNameAndTypeIndex()
        Returns:
        the name and type index