Interface GenericPlaceholder<T>

Type Parameters:
T - The generic type
All Superinterfaces:
AnnotatedElement, AnnotationMetadataProvider, AnnotationSource, Argument<T>, Named, Type, TypeInformation<T>, TypeVariableResolver

public interface GenericPlaceholder<T> extends Argument<T>
Extends Argument to allow differentiating the variable name from the argument name in cases where this is required (parameters and fields for example).
Since:
3.2.0
  • Method Details

    • getVariableName

      @NonNull default @NonNull String getVariableName()
      Returns:
      The variable name, never null.
    • isTypeVariable

      default boolean isTypeVariable()
      Description copied from interface: Argument
      Whether this argument is a type variable used in generics.
      Specified by:
      isTypeVariable in interface Argument<T>
      Returns:
      True if it is a variable