Class AuxiliaryType.NamingStrategy.SuffixingRandom

    • Constructor Detail

      • SuffixingRandom

        public SuffixingRandom​(String suffix)
        Creates a new suffixing random naming strategy.
        Parameters:
        suffix - The suffix to extend to the instrumented type.
    • Method Detail

      • name

        public String name​(TypeDescription instrumentedType)
        Names an auxiliary type.
        Specified by:
        name in interface AuxiliaryType.NamingStrategy
        Parameters:
        instrumentedType - The instrumented type for which an auxiliary type is registered.
        Returns:
        The fully qualified name for the given auxiliary type.