Package net.shibboleth.shared.primitive
Class ReflectionSupport
java.lang.Object
net.shibboleth.shared.primitive.ReflectionSupport
Utility functions related to reflection.
- Since:
- 9.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReflectionSupport
private ReflectionSupport()Private constructor.
-
-
Method Details
-
getMethod
@Nullable public static Method getMethod(@Nonnull Class<?> claz, @Nonnull String methodName, @Nullable Class<?>... parameterTypes) Gets a method via reflection with a given name and parameter types on a class.- Parameters:
claz- class of objectmethodName- name of methodparameterTypes- types of parameters, if any- Returns:
- the matching
Methodor null
-