org.jbpm.util
Class ClassUtil
java.lang.Object
org.jbpm.util.ClassUtil
public class ClassUtil
- extends Object
Helper methods for dealing with classes.
- Author:
- Alejandro Guizar
|
Method Summary |
static String |
getSimpleName(Class clazz)
Returns the simple name of the given class as specified in the source code. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSimpleName
public static String getSimpleName(Class clazz)
- Returns the simple name of the given class as specified in the source code. Returns an empty
string if the underlying class is anonymous.
The simple name of an array is the simple name of the component type with "[]" appended. In
particular the simple name of an array whose component type is anonymous is "[]".
- Returns:
- the simple name of the underlying class
- See Also:
-
java.lang.Class.getSimpleName()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.