Interface AnonymousValue

    • Method Detail

      • setValue

        AnonymousValue setValue​(Type value)
        Description copied from interface: Value
        Sets the inner value of this.
        Specified by:
        setValue in interface Value<Type>
        Parameters:
        value - the new value
        Returns:
        a reference to this model
      • getTypeParameters

        List<Type> getTypeParameters()
        Returns a list of type parameters to set when instantiating the anonymous type.

        The returned list is mutable.

        Returns:
        list of type parameters
      • add

        default AnonymousValue add​(Type typeParameter)
        Adds the specified type parameter to the end of the getTypeParameters() list.
        Parameters:
        typeParameter - the type parameter to add
        Returns:
        a reference to this