Interface ArgumentValue<V>

Type Parameters:
V - The generic value
All Superinterfaces:
AnnotatedElement, AnnotationMetadataProvider, AnnotationSource, Argument<V>, Named, Type, TypeInformation<V>, TypeVariableResolver
All Known Subinterfaces:
MutableArgumentValue<V>

public interface ArgumentValue<V> extends Argument<V>
An Argument with a value.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • getValue

      V getValue()
      Returns:
      The current value of the argument
    • create

      static <T> ArgumentValue<T> create(Argument<T> argument, T value)
      Create a new ArgumentValue for the given Argument and value.
      Type Parameters:
      T - The value type
      Parameters:
      argument - The argument
      value - The value
      Returns:
      The created instance