public class ClassUtils extends Object
Constructor and Description |
---|
ClassUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Field> |
getAllFields(Class cls,
boolean includeStatic) |
static String |
getMethodSignature(Method method) |
static Collection<Class> |
getSubclasses(Class cls)
Returns all interfaces and super-classes the class 'cls' implements / inherit including
'cls' itself.
|
public static Collection<Class> getSubclasses(Class cls)
EXCEPT:Object
Don't fear of the performance implications - the results are cached so every class is probed only once.
cls
- Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.