Package net.bytebuddy

Class NamingStrategy.Suffixing.BaseNameResolver.ForGivenType

    • Field Detail

      • typeDescription

        private final TypeDescription typeDescription
        The type description which represents the resolved name.
    • Constructor Detail

      • ForGivenType

        public ForGivenType​(TypeDescription typeDescription)
        Creates a new base name resolver that resolves a using the name of a given type.
        Parameters:
        typeDescription - The type description which represents the resolved name.
    • Method Detail

      • resolve

        public java.lang.String resolve​(TypeDescription typeDescription)
        Resolves the base name for a given type description.
        Specified by:
        resolve in interface NamingStrategy.Suffixing.BaseNameResolver
        Parameters:
        typeDescription - The type for which the base name is resolved.
        Returns:
        The base name for the given type.