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.