Class ReflectUtils


  • @Deprecated(since="2021-05-27")
    public class ReflectUtils
    extends java.lang.Object
    Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectUtils()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.Class<?> findGenericClassFor​(java.lang.Class<?> baseClass, java.lang.Class<?> ifaceClass)
      Deprecated.
      Given a Base (concrete) Class, find the interface specified, and return its concrete Generic class declaration.
      static boolean isDefaultConstructable​(java.lang.Class<?> clazz)
      Deprecated.
       
      static java.lang.String toShortName​(java.lang.reflect.Type type)
      Deprecated.
       
      static java.lang.String toString​(java.lang.Class<?> pojo, java.lang.reflect.Method method)
      Deprecated.
       
      static java.lang.String trimClassName​(java.lang.String name)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectUtils

        public ReflectUtils()
        Deprecated.
    • Method Detail

      • findGenericClassFor

        public static java.lang.Class<?> findGenericClassFor​(java.lang.Class<?> baseClass,
                                                             java.lang.Class<?> ifaceClass)
        Deprecated.
        Given a Base (concrete) Class, find the interface specified, and return its concrete Generic class declaration.
        Parameters:
        baseClass - the base (concrete) class to look in
        ifaceClass - the interface of interest
        Returns:
        the (concrete) generic class that the interface exposes
      • isDefaultConstructable

        public static boolean isDefaultConstructable​(java.lang.Class<?> clazz)
        Deprecated.
      • toShortName

        public static java.lang.String toShortName​(java.lang.reflect.Type type)
        Deprecated.
      • toString

        public static java.lang.String toString​(java.lang.Class<?> pojo,
                                                java.lang.reflect.Method method)
        Deprecated.
      • trimClassName

        public static java.lang.String trimClassName​(java.lang.String name)
        Deprecated.