@SafeVarargs
    public static <T> T[] toArray(T... arguments) {
        return arguments;
    }
Converts dynamic arguments to object array.

@param arguments the list of arguments.
@return the object array.
jme3-lwjgl3/src/main/java/com/jme3/lwjgl3/utils/APIUtil.java