@param cls The type Class @return whether the given class's native components are registered.
(Class<?> cls)
| 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); |
no outgoing calls