Enum TypeDescription.Generic.OfParameterizedType.RenderingDelegate

    • Constructor Detail

      • RenderingDelegate

        private RenderingDelegate()
    • Method Detail

      • values

        public static TypeDescription.Generic.OfParameterizedType.RenderingDelegate[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TypeDescription.Generic.OfParameterizedType.RenderingDelegate c : TypeDescription.Generic.OfParameterizedType.RenderingDelegate.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TypeDescription.Generic.OfParameterizedType.RenderingDelegate valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • apply

        protected abstract void apply​(java.lang.StringBuilder stringBuilder,
                                      TypeDescription erasure,
                                      TypeDescription.Generic ownerType)
        Applies this rendering delegate.
        Parameters:
        stringBuilder - The string builder which is used for creating a parameterized type's string representation.
        erasure - The rendered type's erasure.
        ownerType - The rendered type's owner type.