MCPcopy Create free account
hub / github.com/java-native-access/jna / unregister

Method unregister

src/com/sun/jna/Native.java:1677–1679  ·  view source on GitHub ↗

Remove all native mappings for the calling class. Should only be called if the class is no longer referenced and about to be garbage collected.

()

Source from the content-addressed store, hash-verified

1675 to be garbage collected.
1676 */
1677 public static void unregister() {
1678 unregister(findDirectMappedClass(getCallingClass()));
1679 }
1680
1681 /** Remove all native mappings for the given class.
1682 Should only be called if the class is no longer referenced and about

Callers 2

testRegisterMethodsMethod · 0.95
unregisterAllMethod · 0.95

Calls 4

findDirectMappedClassMethod · 0.95
getCallingClassMethod · 0.95
getMethod · 0.45
removeMethod · 0.45

Tested by 1

testRegisterMethodsMethod · 0.76