Package com.db4o.internal
Class ReflectPlatform
- java.lang.Object
-
- com.db4o.internal.ReflectPlatform
-
public class ReflectPlatform extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static char
INNER_CLASS_SEPARATOR
-
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)
-
-
-
Field Detail
-
INNER_CLASS_SEPARATOR
public static final char INNER_CLASS_SEPARATOR
- See Also:
- Constant Field Values
-
-
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)
-
-