Rabbit-R1/switch port/java/sources/com/google/common/base/FinalizablePhantomReference.java

14 lines
511 B
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package com.google.common.base;
import java.lang.ref.PhantomReference;
import javax.annotation.CheckForNull;
@ElementTypesAreNonnullByDefault
/* loaded from: classes2.dex */
public abstract class FinalizablePhantomReference<T> extends PhantomReference<T> implements FinalizableReference {
protected FinalizablePhantomReference(@CheckForNull T t, FinalizableReferenceQueue finalizableReferenceQueue) {
super(t, finalizableReferenceQueue.queue);
finalizableReferenceQueue.cleanUp();
}
}