Class ReflectionUtil
- java.lang.Object
-
- com.atlassian.confluence.internal.util.reflection.ReflectionUtil
-
public final class ReflectionUtil extends Object
Reflection-related utility methods.- Since:
- 6.7.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull Optional<Method>
findMethod(Class<?> owningClass, String name)
Looks for the named method of the given class.
-
-
-
Method Detail
-
findMethod
public static @NonNull Optional<Method> findMethod(Class<?> owningClass, String name)
Looks for the named method of the given class.- Parameters:
owningClass
- the class in which to find the methodname
- the name of the method to find- Returns:
- empty if there is no such method
- See Also:
ReflectionUtils.findMethod(Class, String)
-
-