Package ru.cwcode.cwutils.reflection
Class ReflectionUtils
java.lang.Object
ru.cwcode.cwutils.reflection.ReflectionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindMatchingResources(File jarFile, Predicate<String> filter) getClasses(File jarFile, String packageName) getClasses(File jarFile, String packageName, Predicate<String> filter) static <T> TgetFieldValue(Object object, String fieldName, Class<T> fieldType) static <T> TgetNewInstance(Class<T> type, Object... parameters) static booleantryToInvokeStaticMethod(Class<?> classInfo, String methodName)
-
Constructor Details
-
ReflectionUtils
public ReflectionUtils()
-
-
Method Details
-
getNewInstance
-
getFieldValue
-
getClasses
-
getClasses
-
findMatchingResources
-
tryToInvokeStaticMethod
-