|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectReflectionUtils
public class ReflectionUtils
| Constructor Summary | |
|---|---|
ReflectionUtils()
|
|
| Method Summary | |
|---|---|
static Class[] |
findClasses(ClassLoader classLoader,
String packageName,
String classNameRegEx,
int subdirLevel,
Class classExtends,
Class interfaceImplements)
|
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflectionUtils()
| Method Detail |
|---|
public static Class[] findClasses(ClassLoader classLoader,
String packageName,
String classNameRegEx,
int subdirLevel,
Class classExtends,
Class interfaceImplements)
throws ClassNotFoundException
classLoader - Classloader to use for loading classespackageName - Package name to check classes inclassNameRegEx - If not null limit class names to this regexp. This parameter
is checked before class is loaded so use it to improve performance by skipping loading extra classessubdirLevel - If more than 0 all subdirectories/subpackages up to dirLevel will be
traversed This parameter is checked before class is loaded - use it to improve
performance by skipping loading extra classesclassExtends - If not null return only classes which extend this classinterfaceImplements - If not null return only classes which implement this interface
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||