java.lang.Object
org.firebirdsql.jaybird.util.ReflectionHelper
Class containing static helper methods for reflective access.
- Since:
- 2.2
- Author:
- Mark Rotteveel
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable MethodfindMethod(Class<?> clazz, String name, Class<?>[] args) Helper function to find specified method in a specified class.static Class<?>[]getAllInterfaces(Class<?> clazz) Get all implemented interfaces by the class.
-
Method Details
-
getAllInterfaces
Get all implemented interfaces by the class.- Parameters:
clazz- class to inspect.- Returns:
- array of all implemented interfaces.
-
findMethod
Helper function to find specified method in a specified class.- Parameters:
clazz- class in which we look for a specified method.name- name of the method.args- types of method params.- Returns:
- instance of
Methodcorresponding to specified name and param types.
-