Class Types


  • public final class Types
    extends Object
    • Method Detail

      • getTypeArray

        public static Type[] getTypeArray​(ListOfTypes types,
                                          boolean clone)
      • getType

        public static Type getType​(Type type)
      • getSignature

        public static String getSignature​(Class<?> clazz)
        Returns the internal name of clazz (also known as the descriptor).
      • toString

        public static String toString​(Class<?>[] types)
        Returns the names of types separated by commas.
      • appendArrayGenericType

        public static void appendArrayGenericType​(StringBuilder out,
                                                  Type[] types)
        Appends names of the types to out separated by commas.
      • appendGenericType

        public static void appendGenericType​(StringBuilder out,
                                             Type type)