Top Description Constructors Methods
org.apache.commons.lang3.builder

pack-priv final Class Reflection

extends Object
Class Inheritance
Imports
java.lang.reflect.Field, java.util.Objects

Package-private reflection code.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Object

Returns:

The result of the get call.
getUnchecked
(final Field
The receiver of the get call.
field
,
final Object
The argument of the get call.
obj
)

Delegates to Field#get(Object) and rethrows IllegalAccessException as IllegalArgumentException.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Reflectionback to summary
pack-priv Reflection()

Method Detail

getUncheckedback to summary
pack-priv static Object getUnchecked(final Field field, final Object obj)

Delegates to Field#get(Object) and rethrows IllegalAccessException as IllegalArgumentException.

Parameters
field:Field

The receiver of the get call.

obj:Object

The argument of the get call.

Returns:Object

The result of the get call.

Exceptions
IllegalArgumentException:
Thrown after catching IllegalAccessException.