Class ReflectPlatform


  • public class ReflectPlatform
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectPlatform()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String adjustClassName​(java.lang.String className, java.lang.Class clazz)  
      static java.lang.String containerName​(java.lang.Class clazz)  
      static java.lang.Object createInstance​(java.lang.Class clazz)  
      static java.lang.Object createInstance​(java.lang.String className)  
      static java.lang.Class forName​(java.lang.String className)  
      static java.lang.String fullyQualifiedName​(java.lang.Class clazz)  
      static java.lang.String getJavaInterfaceSimpleName​(java.lang.Class clazz)  
      static boolean isNamedClass​(java.lang.Class clazz)  
      static <T> T newInstance​(java.lang.reflect.Constructor<T> ctor, java.lang.Object... args)  
      static java.lang.String simpleName​(java.lang.Class clazz)  
      • Methods inherited from class java.lang.Object

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

    • Constructor Detail

      • ReflectPlatform

        public ReflectPlatform()
    • Method Detail

      • forName

        public static java.lang.Class forName​(java.lang.String className)
        Parameters:
        className -
        Returns:
        the Class object for specified className. Returns null if an error is encountered during loading the class.
      • createInstance

        public static java.lang.Object createInstance​(java.lang.String className)
      • createInstance

        public static java.lang.Object createInstance​(java.lang.Class clazz)
      • fullyQualifiedName

        public static java.lang.String fullyQualifiedName​(java.lang.Class clazz)
      • isNamedClass

        public static boolean isNamedClass​(java.lang.Class clazz)
      • simpleName

        public static java.lang.String simpleName​(java.lang.Class clazz)
      • newInstance

        public static <T> T newInstance​(java.lang.reflect.Constructor<T> ctor,
                                        java.lang.Object... args)
                                 throws Db4oException
        Throws:
        Db4oException
      • getJavaInterfaceSimpleName

        public static java.lang.String getJavaInterfaceSimpleName​(java.lang.Class clazz)
      • containerName

        public static java.lang.String containerName​(java.lang.Class clazz)
      • adjustClassName

        public static java.lang.String adjustClassName​(java.lang.String className,
                                                       java.lang.Class clazz)