MCPcopy Index your code
hub / github.com/java-native-access/jna / accept

Method accept

src/com/sun/jna/NativeLibrary.java:844–850  ·  view source on GitHub ↗
(File dir, String filename)

Source from the content-addressed store, hash-verified

842 }
843 FilenameFilter filter = new FilenameFilter() {
844 @Override
845 public boolean accept(File dir, String filename) {
846 return (filename.startsWith("lib" + libName + ".so")
847 || (filename.startsWith(libName + ".so")
848 && libName.startsWith("lib")))
849 && isVersionedName(filename);
850 }
851 };
852
853 Collection<File> matches = new LinkedList<>();

Callers

nothing calls this directly

Calls 1

isVersionedNameMethod · 0.95

Tested by

no test coverage detected