Class ConstantCPInfo

    • Constructor Detail

      • ConstantCPInfo

        protected ConstantCPInfo​(int tagValue,
                                 int entries)
        Initialise the constant entry.
        Parameters:
        tagValue - the constant pool entry type to be used.
        entries - the number of constant pool entry slots occupied by this entry.
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Get the value of the constant.
        Returns:
        the value of the constant (untyped).
      • setValue

        public void setValue​(java.lang.Object newValue)
        Set the constant value.
        Parameters:
        newValue - the new untyped value of this constant.