public final class ReflectionHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Method |
findMethod(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>[] args)
Helper function to find specified method in a specified class.
|
static java.lang.Class<?>[] |
getAllInterfaces(java.lang.Class<?> clazz)
Get all implemented interfaces by the class.
|
public static java.lang.Class<?>[] getAllInterfaces(java.lang.Class<?> clazz)
clazz
- class to inspect.public static java.lang.reflect.Method findMethod(java.lang.Class<?> clazz, java.lang.String name, java.lang.Class<?>[] args)
clazz
- class in which we look for a specified method.name
- name of the method.args
- types of method params.Method
corresponding to specified name and
param types.Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.