Top Constructors Methods
org.apache.hc.core5.util

public final Class ReflectionUtils

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.lang.reflect.Method, java.security.AccessController, .PrivilegedAction, org.apache.hc.core5.annotation.Internal

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static <T> T
callGetter(final Object object, final String getterName, final Class<T> resultType)

public static void
callSetter(final Object object, final String setterName, final Class<?> type, final Object value)

public static int
private static void
setAccessible(final Method method)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ReflectionUtilsback to summary
public ReflectionUtils()

Method Detail

callGetterback to summary
public static <T> T callGetter(final Object object, final String getterName, final Class<T> resultType)
callSetterback to summary
public static void callSetter(final Object object, final String setterName, final Class<?> type, final Object value)
determineJRELevelback to summary
public static int determineJRELevel()
setAccessibleback to summary
private static void setAccessible(final Method method)