muscle::util::ClassTool Class Reference
Static Public Member Functions | |
static Class<?> | forName (String name) throws ClassNotFoundException |
static String | getName (Class cls) |
static Class<?> | arrayClassForName (String name) throws ClassNotFoundException |
static Class<?> | primitiveClassForWrapperClass (Class<?> wrapperClass) throws ClassNotFoundException |
static Class<?> | primitiveClassForName (String name) throws ClassNotFoundException |
static Class<?> | arrayClassForPrimitive (Class<?> primitiveClass) |
Classes | |
class | ArrayClassBuilder< T > |
Detailed Description
additional functionality for java.lang.ClassMember Function Documentation
static Class<?> muscle::util::ClassTool::forName | ( | String | name | ) | throws ClassNotFoundException [inline, static] |
handle primitives and array as well as the standard classes (which is the only thing the plain java.lang.Class can handle)
static String muscle::util::ClassTool::getName | ( | Class | cls | ) | [inline, static] |
full name of a class, e.g. "java.lang.String"
the method Class::getName often returns null, e.g. if a class has been instantiated via reflection
static Class<?> muscle::util::ClassTool::arrayClassForName | ( | String | name | ) | throws ClassNotFoundException [inline, static] |
static Class<?> muscle::util::ClassTool::primitiveClassForWrapperClass | ( | Class<?> | wrapperClass | ) | throws ClassNotFoundException [inline, static] |
static Class<?> muscle::util::ClassTool::primitiveClassForName | ( | String | name | ) | throws ClassNotFoundException [inline, static] |
static Class<?> muscle::util::ClassTool::arrayClassForPrimitive | ( | Class<?> | primitiveClass | ) | [inline, static] |
Generated on Thu Oct 18 14:28:29 2012 for Muscle Java API by
![doxygen](doxygen.png)