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).
  • Method Details

    • getVariableName

      @NonNull default @NonNull String getVariableName()
      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>
      True if it is a variable