Class ConstantInvokeDynamicInfo

  • All Implemented Interfaces:
    ConstantTypes

    public class ConstantInvokeDynamicInfo
    extends ConstantPoolInfo
    Class representing a CONSTANT_InvokeDynamic_info structure.
    Version:
    1.0
    • Field Detail

      • bootstrapMethodAttrIndex

        private int bootstrapMethodAttrIndex
      • nameAndTypeIndex

        private int nameAndTypeIndex
    • Constructor Detail

      • ConstantInvokeDynamicInfo

        public ConstantInvokeDynamicInfo​(int bootstrapMethodAttrIndex,
                                         int nameAndTypeIndex)
        Constructor.
        Parameters:
        bootstrapMethodAttrIndex - The index.
        nameAndTypeIndex - The name and type index.
    • Method Detail

      • getBootstrapMethodAttrIndex

        public int getBootstrapMethodAttrIndex()
      • getNameAndTypeIndex

        public int getNameAndTypeIndex()
      • toString

        public java.lang.String toString()
        Returns a string representation of this object. Useful for debugging.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this object.