Package io.openlineage.client.utils
Class ReflectionUtils
- java.lang.Object
-
- io.openlineage.client.utils.ReflectionUtils
-
public class ReflectionUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReflectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
hasClass(java.lang.String aClass)
static boolean
hasClasses(java.lang.String... classes)
static java.util.Optional<java.lang.Object>
tryExecuteMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object... args)
static java.util.Optional<java.lang.Object>
tryExecuteStaticMethodForClassName(java.lang.String className, java.lang.String methodName, java.lang.Object... args)
-
-
-
Method Detail
-
tryExecuteStaticMethodForClassName
public static java.util.Optional<java.lang.Object> tryExecuteStaticMethodForClassName(java.lang.String className, java.lang.String methodName, java.lang.Object... args)
-
tryExecuteMethod
public static java.util.Optional<java.lang.Object> tryExecuteMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object... args)
-
hasClass
public static boolean hasClass(java.lang.String aClass)
-
hasClasses
public static boolean hasClasses(java.lang.String... classes)
-
-