public static Class<?> apiOptionalClass(String className) {
        try {
            return Class.forName(className);
        } catch (ClassNotFoundException e) {
            return null;
        }
    }
Returns a map of public static final integer fields in the specified
classes, to their String representations. An optional filter can be
specified to only include specific fields. The target map may be null, in
which case a new map is allocated and returned.

<p>
This method is useful when debugging to quickly identify values returned
from an API.</p>

@param filter the filter to use (optional)
@param target the target map (optional)
@param tokenClasses the classes to get tokens from

@return the token map
jme3-lwjgl3/src/main/java/com/jme3/lwjgl3/utils/APIUtil.java