Interface TypeVariableSource.Visitor<T>

Type Parameters:
T - The visitor's return type.
All Known Implementing Classes:
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor, TypeVariableSource.Visitor.NoOp
Enclosing interface:
TypeVariableSource

public static interface TypeVariableSource.Visitor<T>
A visitor that can be applied to a type variable source.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    A none-operational implementation of a type variable visitor that simply returns the visited source.
  • Method Summary

    Modifier and Type
    Method
    Description
    Applies the visitor on a method.
    onType(TypeDescription typeDescription)
    Applies the visitor on a type.
  • Method Details

    • onType

      T onType(TypeDescription typeDescription)
      Applies the visitor on a type.
      Parameters:
      typeDescription - The type onto which this visitor is applied.
      Returns:
      The visitor's return value.
    • onMethod

      T onMethod(MethodDescription.InDefinedShape methodDescription)
      Applies the visitor on a method.
      Parameters:
      methodDescription - The method onto which this visitor is applied.
      Returns:
      The visitor's return value.