|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.utils.ClassUtils
public class ClassUtils
Constructor Summary | |
---|---|
ClassUtils()
|
Method Summary | |
---|---|
static java.util.List<java.lang.reflect.Field> |
getAllFields(java.lang.Class cls,
boolean includeStatic)
|
static java.lang.String |
getMethodSignature(java.lang.reflect.Method method)
|
static java.util.Collection<java.lang.Class> |
getSubclasses(java.lang.Class cls)
Returns all interfaces and super-classes the class 'cls' implements / inherit including 'cls' itself. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassUtils()
Method Detail |
---|
public static java.util.Collection<java.lang.Class> getSubclasses(java.lang.Class cls)
EXCEPT:Object
Don't fear of the performance implications - the results are cached so every class is probed only once.
cls
-
public static java.util.List<java.lang.reflect.Field> getAllFields(java.lang.Class cls, boolean includeStatic)
public static java.lang.String getMethodSignature(java.lang.reflect.Method method)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |