code: public static int loadStaticInt(String fullyQualifiedFieldName)
        throws ClassNotFoundException, NoSuchFieldException, IllegalAccessException {
          int lastDotPos = fullyQualifiedFieldName.lastIndexOf('.');
          // Name must contain "." but not as first or last character
          if (lastDotPos <= 0 || lastDotPos + 1 >= fullyQualifiedFieldName.length()) {
              throw new IllegalArgumentException(fullyQualifiedFieldName);
          }
          String className = fullyQualifiedFieldName.substring(0, lastDotPos);
          String fieldName = fullyQualifiedFieldName.substring(lastDotPos + 1);
          Class<?> clazz = loadClass(className);
          Field field = clazz.getField(fieldName);
          int mode = field.getInt(clazz);
          return mode;
      }
docs: Gets the value of a static int field (static final constant), given its fully qualified name.
  The owner class can be a (public static) inner class provided the physical name is used
  (e.g. "my.package.MyClass$MyInnerClass.INT_FIELD").
  @param fullyQualifiedFieldName
  @return the value of the field
  @throws ClassNotFoundException
  @throws NoSuchFieldException
  @throws IllegalAccessException
  @throws IllegalArgumentException - if the given name is invalid