|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.util.ClassUtils
Utility methods for class handling.
Method Summary | |
static java.lang.Class |
callingClass()
Returns the caller of the the methods which calls this method. |
static java.lang.Class |
callingClass(int offset)
Returns the class with the given offset from the call stack. |
static java.lang.String |
getShortClassname(java.lang.Class clazz)
Returns the short classname of a class (without parent packages). |
static boolean |
isInstantiable(java.lang.Class clazz)
Checks if this class can be instantiated automatically. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final java.lang.Class callingClass()
public static final java.lang.Class callingClass(int offset)
offset
- offset of the class in the call stack
public static final java.lang.String getShortClassname(java.lang.Class clazz)
clazz
- class
public static final boolean isInstantiable(java.lang.Class clazz)
clazz
- class to be checked
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |