public static Object readStaticField(final Field field,final boolean forceAccess) throws IllegalAccessException {
  if (field == null) {
    throw new IllegalArgumentException("The field must not be null");
  }
  if (!Modifier.isStatic(field.getModifiers())) {
    throw new IllegalArgumentException("The field '" + field.getName() + "' is not static");
  }
  return FieldUtils.readField(field,(Object)null,forceAccess);
}

public static Object readStaticField ( final Field field , final boolean forceAccess ) throws IllegalAccessException { if ( field == null ) { throw new IllegalArgumentException ( "The field must not be null" ) ; } if ( ! Modifier . isStatic ( field . getModifiers ( ) ) ) { throw new IllegalArgumentException ( "The field '" + field . getName ( ) + "' is not static" ) ; } return FieldUtils . readField ( field , ( Object ) null , forceAccess ) ; }
read a static field .
