public static void setWeak(Object instance, String key, Object value) { set(instance, key, value); }
public T unwrap() { if (usingSimplePeer) { throw new IllegalStateException(); } try { WeakMapping.set(wrapped, AutoBean.class.getName(), null); return wrapped; } finally { wrapped = null; } }
public static void setWeak(Object instance, String key, Object value) { set(instance, key, value); }
public static void setWeak(Object instance, String key, Object value) { set(instance, key, value); }
public T unwrap() { if (usingSimplePeer) { throw new IllegalStateException(); } try { WeakMapping.set(wrapped, AutoBean.class.getName(), null); return wrapped; } finally { wrapped = null; } }
public T unwrap() { if (usingSimplePeer) { throw new IllegalStateException(); } try { WeakMapping.set(wrapped, AutoBean.class.getName(), null); return wrapped; } finally { wrapped = null; } }
public T unwrap() { if (usingSimplePeer) { throw new IllegalStateException(); } try { WeakMapping.set(wrapped, AutoBean.class.getName(), null); return wrapped; } finally { wrapped = null; } }
/** * Like {@link #set(Object, String, Object)}, but doesn't guarantee that * {@code value} can be retrieved. */ public static void setWeak(Object instance, String key, Object value) { set(instance, key, new ManagedWeakReference<Object>(value)); }