Package org.apache.commons.lang3.builder
Class Reflection
- java.lang.Object
-
- org.apache.commons.lang3.builder.Reflection
-
final class Reflection extends java.lang.ObjectPackage-private reflection code.
-
-
Constructor Summary
Constructors Constructor Description Reflection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.ObjectgetUnchecked(java.lang.reflect.Field field, java.lang.Object obj)Delegates toField.get(Object)and rethrowsIllegalAccessExceptionasIllegalArgumentException.
-
-
-
Method Detail
-
getUnchecked
static java.lang.Object getUnchecked(java.lang.reflect.Field field, java.lang.Object obj)Delegates toField.get(Object)and rethrowsIllegalAccessExceptionasIllegalArgumentException.- Parameters:
field- The receiver of the get call.obj- The argument of the get call.- Returns:
- The result of the get call.
- Throws:
java.lang.IllegalArgumentException- Thrown after catchingIllegalAccessException.
-
-