Package net.bytebuddy

Class NamingStrategy.AbstractBase

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • subclass

        public java.lang.String subclass​(TypeDescription.Generic superClass)
        Determines a new name when creating a new type that subclasses the provided type.
        Specified by:
        subclass in interface NamingStrategy
        Parameters:
        superClass - The super type of the created type.
        Returns:
        The name of the dynamic type.
      • name

        protected abstract java.lang.String name​(TypeDescription superClass)
        Determines a new name when creating a new type that subclasses the provided type.
        Parameters:
        superClass - The super type of the created type.
        Returns:
        The name of the dynamic type.
      • redefine

        public java.lang.String redefine​(TypeDescription typeDescription)
        Determines a name for the dynamic type when redefining the provided type.
        Specified by:
        redefine in interface NamingStrategy
        Parameters:
        typeDescription - The type being redefined.
        Returns:
        The name of the dynamic type.
      • rebase

        public java.lang.String rebase​(TypeDescription typeDescription)
        Determines a name for the dynamic type when rebasing the provided type.
        Specified by:
        rebase in interface NamingStrategy
        Parameters:
        typeDescription - The type being redefined.
        Returns:
        The name of the dynamic type.