Module lettuce.core

Interface ResolvableType.VariableResolver

All Superinterfaces:
Serializable
Enclosing class:
ResolvableType

public static interface ResolvableType.VariableResolver
extends Serializable
Strategy interface used to resolve TypeVariables.
  • Method Details

    • getSource

      Object getSource()
      Return the source of the resolver (used for hashCode and equals).
    • resolveVariable

      ResolvableType resolveVariable​(TypeVariable<?> variable)
      Resolve the specified variable.
      Parameters:
      variable - the variable to resolve
      Returns:
      the resolved variable, or null if not found