| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Collection | |
| public static Collection | |
| public static boolean | Returns: true if the class loader can load the class, false otherwiseClassLoader to useto check className)
Deprecated
The preferred method is
org.
which checks all possible ClassLoaders.
Checks whether a given |
| public static Object | |
| public static <T> T |
| FIELD_NAME_EXTRACTOR | back to summary |
|---|---|
| public static final Function<Field, String> FIELD_NAME_EXTRACTOR | |
| ReflectionUtils | back to summary |
|---|---|
| private ReflectionUtils() | |
| getMatchingDeclaredFields | back to summary |
|---|---|
| public static Collection | |
| getMatchingFields | back to summary |
|---|---|
| public static Collection | |
| isClassAvailable | back to summary |
|---|---|
| public static boolean isClassAvailable(ClassLoader cl, String className)
Deprecated The preferred method is
Checks whether a given
| |
| newInstance | back to summary |
|---|---|
| public static Object newInstance(Class<?> clazz) throws ReflectiveOperationException | |
| newInstance | back to summary |
|---|---|
public static <T> T newInstance(Class<?> clazz, Class<? extends T> castType) throws ReflectiveOperationException
| |