Interface AuxiliaryType.NamingStrategy

All Known Implementing Classes:
AuxiliaryType.NamingStrategy.Enumerating, AuxiliaryType.NamingStrategy.Suffixing, AuxiliaryType.NamingStrategy.SuffixingRandom
Enclosing interface:
AuxiliaryType

public static interface AuxiliaryType.NamingStrategy
Representation of a naming strategy for an auxiliary type.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    A naming strategy for an auxiliary type which attempts an enumeration of types by using the hash code of the instrumenting instance.
    static class 
    Creates a naming strategy that uses stable suffixes that are provided by the auxiliary types themselves.
    static class 
    A naming strategy for an auxiliary type which returns the instrumented type's name with a fixed extension and a random number as a suffix.
  • Method Summary

    Modifier and Type
    Method
    Description
    name(TypeDescription instrumentedType, AuxiliaryType auxiliaryType)
    Names an auxiliary type.
  • Method Details

    • name

      String name(TypeDescription instrumentedType, AuxiliaryType auxiliaryType)
      Names an auxiliary type.
      Parameters:
      instrumentedType - The instrumented type for which an auxiliary type is registered.
      auxiliaryType - The named auxiliary type.
      Returns:
      The fully qualified name for the given auxiliary type.