org.assertj.core.util.introspection
Class FieldUtils
java.lang.Object
org.assertj.core.util.introspection.FieldUtils
public class FieldUtils
- extends Object
Shameless copy from Apache commons lang and then modified to keep only the interesting stuff for AssertJ.
Utilities for working with fields by reflection. Adapted and refactored from the dormant [reflect] Commons sandbox
component.
The ability is provided to break the scoping restrictions coded by the programmer. This can allow fields to be
changed that shouldn't be. This facility should be used with care.
- Since:
- 2.5
- Version:
- $Id: FieldUtils.java 1144929 2011-07-10 18:26:16Z ggregory $
|
Constructor Summary |
FieldUtils()
FieldUtils instances should NOT be constructed in standard programming. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldUtils
public FieldUtils()
- FieldUtils instances should NOT be constructed in standard programming.
This constructor is public to permit tools that require a JavaBean instance to operate.
Copyright © 2013–2015 AssertJ. All rights reserved.