@Test(expected = UnsupportedOperationException.class) @SuppressWarnings("unchecked") public void testUnavailableDispatcherCleanThrowsException() throws Exception { new NexusAccessor.Dispatcher.Unavailable("unavailable").clean(mock(Reference.class)); }
public static void clean(Reference<? super ClassLoader> reference) { TYPE_INITIALIZERS.remove(reference); }
Nexus extends WeakReference<ClassLoader> { public static void clean(Reference<? super ClassLoader> reference) { TYPE_INITIALIZERS.remove(reference); } }
Nexus extends WeakReference<ClassLoader> { public static void clean(Reference<? super ClassLoader> reference) { TYPE_INITIALIZERS.remove(reference); } private  Nexus(Class<?> type, int identification); private  Nexus(String name, ClassLoader classLoader, ReferenceQueue<? super ClassLoader> referenceQueue, int identification); }
Nexus extends WeakReference<ClassLoader> { public static void clean(Reference<? super ClassLoader> reference) { TYPE_INITIALIZERS.remove(reference); } private  Nexus(Class<?> type, int identification); private  Nexus(String name, ClassLoader classLoader, ReferenceQueue<? super ClassLoader> referenceQueue, int identification); @SuppressWarnings("unused") static void initialize(Class<?> type, int identification); static void register(String name, ClassLoader classLoader, ReferenceQueue<? super ClassLoader> referenceQueue, int identification, Object typeInitializer); static void clean(Reference<? super ClassLoader> reference); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString(); }
Nexus extends WeakReference<ClassLoader> { public static void clean(Reference<? super ClassLoader> reference) { TYPE_INITIALIZERS.remove(reference); } private  Nexus(Class<?> type, int identification); private  Nexus(String name, ClassLoader classLoader, ReferenceQueue<? super ClassLoader> referenceQueue, int identification); @SuppressWarnings("unused") static void initialize(Class<?> type, int identification); static void register(String name, ClassLoader classLoader, ReferenceQueue<? super ClassLoader> referenceQueue, int identification, Object typeInitializer); static void clean(Reference<? super ClassLoader> reference); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString(); static final String PROPERTY; }