public LibraryInfo addNativeVariant(Platform platform, String pathInNativesJar, String extractedAsFileName) {
             nativeVariants.add(new NativeLibrary(name, platform, pathInNativesJar, extractedAsFileName, loadFunction));
             return this;
        }
Adds a new native library that targets specified platform.

@param platform The platform this library targets
@param pathInNativesJar The path of native file inside library jar
@param extractedAsFileName The filename that the library should be extracted as
@return this
jme3-desktop/src/main/java/com/jme3/system/NativeLibraries.java