code: @SuppressWarnings("unchecked")
    private <T> T getStaticFieldValue(JavaClass javaClazz, JavaField javaField, ClassLoader compileClassLoader, Class<T> fieldType) {
      try {
        Class<?> clazz = compileClassLoader.loadClass(javaClazz.getFullyQualifiedName());
        Field field = clazz.getField(javaField.getName());
        return (T)field.get(fieldType);
      }
      catch (ClassNotFoundException | NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException ex) {
        throw new RuntimeException("Unable to get contanst value of field '" + javaClazz.getName() + "#" + javaField.getName() + ":\n" + ex.getMessage(), ex);
      }
    }
docs: Get constant field value.
  @param javaClazz QDox class
  @param javaField QDox field
  @param compileClassLoader Classloader for compile dependencies
  @param fieldType Field type
  @return Value