public class DisposeAwareRunnable<T extends java.lang.Runnable>
extends java.lang.ref.WeakReference<java.lang.Object>
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected T |
myDelegate |
Modifier and Type | Method and Description |
---|---|
static java.lang.Runnable |
create(java.lang.Runnable delegate,
Module disposable) |
static java.lang.Runnable |
create(java.lang.Runnable delegate,
Project disposable) |
static java.lang.Runnable |
create(java.lang.Runnable delegate,
PsiElement disposable) |
void |
run() |
protected final T extends java.lang.Runnable myDelegate
public static java.lang.Runnable create(java.lang.Runnable delegate, PsiElement disposable)
public static java.lang.Runnable create(java.lang.Runnable delegate, Project disposable)
public static java.lang.Runnable create(java.lang.Runnable delegate, Module disposable)
public void run()
run
in interface java.lang.Runnable