@SuppressFBWarnings(value="DP_DO_INSIDE_DO_PRIVILEGED",justification="EV is run only from within unit tests") public Object returnConstant(String constantName){
  try {
    Class<?> type=resolve();
    if (type == null) {
      return null;
    }
    Field field=type.getField(constantName);
    field.setAccessible(true);
    return field.get(null);
  }
 catch (  Exception e) {
    return handleException(e);
  }
}

@ SuppressFBWarnings ( value = "DP_DO_INSIDE_DO_PRIVILEGED" , justification = "EV is run only from within unit tests" ) public Object returnConstant ( String constantName ) { try { Class < ? > type = resolve ( ) ; if ( type == null ) { return null ; } Field field = type . getField ( constantName ) ; field . setAccessible ( true ) ; return field . get ( null ) ; } catch ( Exception e ) { return handleException ( e ) ; } }
attempts to resolve a static constant on the type .
