Class ClassInfoRegistry


  • public class ClassInfoRegistry
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ClassInfo getClassInfo​(java.lang.Class<?> type)
      Returns the ClassInfo instance registered for the given Class type.
      static void registerClassInfo​(java.lang.Class<?> type, ClassInfo classInfo)
      Registers a ClassInfo instance for the given Class instance.
      • Methods inherited from class java.lang.Object

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

      • ClassInfoRegistry

        public ClassInfoRegistry()
    • Method Detail

      • getClassInfo

        public static ClassInfo getClassInfo​(java.lang.Class<?> type)
        Returns the ClassInfo instance registered for the given Class type.
        Parameters:
        type - A given Class type.
        Returns:
        The ClassInfo registered for the given Class type.
      • registerClassInfo

        public static void registerClassInfo​(java.lang.Class<?> type,
                                             ClassInfo classInfo)
        Registers a ClassInfo instance for the given Class instance.
        Parameters:
        type - A given Class type.
        classInfo - The ClassInfo instance to register.