Class Field

    • Constructor Detail

    • Method Detail

      • setValue

        public void setValue​(Object object)
        Set the value of the field. Normally the value should not be changed. Currently this is used after deserializing static fields to change the object reference to one having a link to the current snapshot.
        Parameters:
        object - object is one of
        ObjectReference
        for an object field
        Byte
        for a byte field
        Short
        for a short field
        Integer
        for an int field
        Long
        for a long field
        Boolean
        for a boolean field
        Character
        for a char field
        Float
        for a float field
        Double
        for a double field
      • toString

        public String toString()
        A readable representation of the field. Do not rely on the format of the result.
        Overrides:
        toString in class FieldDescriptor
        Returns:
        a description of this field.