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

Method registered

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

@param cls The type Class @return whether the given class's native components are registered.

(Class<?> cls)

Source from the content-addressed store, hash-verified

1698 * @return whether the given class's native components are registered.
1699 */
1700 public static boolean registered(Class<?> cls) {
1701 synchronized(registeredClasses) {
1702 return registeredClasses.containsKey(cls);
1703 }
1704 }
1705
1706 /* Unregister the native methods for the given class. */
1707 private static native void unregister(Class<?> cls, long[] handles);

Callers 1

testRegisterMethodsMethod · 0.95

Calls

no outgoing calls

Tested by 1

testRegisterMethodsMethod · 0.76