Class TypeNames


  • public final class TypeNames
    extends Object
    Normalizes the many spellings of a Java type to one canonical descriptor form.
    • Method Detail

      • canonical

        public static String canonical​(String type)
        Reduces any accepted type spelling to its descriptor form.
        Parameters:
        type - the spelling to normalize, may be null
        Returns:
        the canonical descriptor form of the type