Interface AuxiliaryType.NamingStrategy
-
- All Known Implementing Classes:
AuxiliaryType.NamingStrategy.Enumerating,AuxiliaryType.NamingStrategy.Suffixing,AuxiliaryType.NamingStrategy.SuffixingRandom
- Enclosing interface:
- AuxiliaryType
public static interface AuxiliaryType.NamingStrategyRepresentation of a naming strategy for an auxiliary type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAuxiliaryType.NamingStrategy.EnumeratingA naming strategy for an auxiliary type which attempts an enumeration of types by using the hash code of the instrumenting instance.static classAuxiliaryType.NamingStrategy.SuffixingCreates a naming strategy that uses stable suffixes that are provided by the auxiliary types themselves.static classAuxiliaryType.NamingStrategy.SuffixingRandomA 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringname(TypeDescription instrumentedType, AuxiliaryType auxiliaryType)Names an auxiliary type.
-
-
-
Method Detail
-
name
java.lang.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.
-
-