public static <R> R getStaticField(Class<?> clazz, String fieldName) {
    """
	Reflectively get the value of a static field.
	
	@param clazz Target class.
	@param fieldName The field name.
	@param <R> The return type.
	@return Value of the field.
    """
    try {
      return getStaticField(clazz.getDeclaredField(fieldName));
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
public static <R> R getStaticField(Class<?> clazz, String fieldName) {
    try {
      return getStaticField(clazz.getDeclaredField(fieldName));
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
public static < R > R getStaticField ( Class < ? > clazz , String fieldName ) { try { return getStaticField ( clazz . getDeclaredField ( fieldName ) ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
Reflectively get the value of a static field.

@param clazz Target class.
@param fieldName The field name.
@param <R> The return type.
@return Value of the field.
Reflectively get the value of a static field .