Class FixedValue.ForValue

    • Constructor Detail

      • ForValue

        protected ForValue​(java.lang.Object value)
        Creates a new static field fixed value implementation with a random name for the field containing the fixed value.
        Parameters:
        value - The fixed value to be returned.
      • ForValue

        protected ForValue​(java.lang.String fieldName,
                           java.lang.Object value)
        Creates a new static field fixed value implementation.
        Parameters:
        fieldName - The name of the field for storing the fixed value.
        value - The fixed value to be returned.