@SuppressFBWarnings(value = "DP_DO_INSIDE_DO_PRIVILEGED", justification = "Only called in test code, not production.")
    public Object get() {
        field.setAccessible(true);
        try {
            return field.get(object);
        }
        catch (IllegalAccessException e) {
            throw new ReflectionException(e);
        }
    }
@ SuppressFBWarnings ( value = "DP_DO_INSIDE_DO_PRIVILEGED" , justification = "Only called in test code, not production." ) public Object get ( ) { field . setAccessible ( true ) ; try { return field . get ( object ) ; } catch ( IllegalAccessException e ) { throw new ReflectionException ( e ) ; } }
Tries to get the field's value.

@return The field's value.
@throws ReflectionException If the operation fails.