@InternalApi public final class ReflectionHelper extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.reflect.Field |
findField(java.lang.Class<?> clazz,
java.lang.String name)
Helper function to find a declared field in a class.
|
static java.lang.reflect.Method |
findMethod(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>[] args)
Helper function to find a method in a 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 inspectpublic static java.lang.reflect.Method findMethod(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>[] args)
clazz - class in which to look for the methodname - name of the methodargs - types of method paramsMethod corresponding to name and argspublic static java.lang.reflect.Field findField(java.lang.Class<?> clazz,
java.lang.String name)
clazz - class in which to look for the fieldname - name of the fieldField corresponding to namejava.lang.IllegalArgumentException - if no field was foundCopyright © 2001-2026 Jaybird (Firebird JDBC) team. All rights reserved.