public abstract class RuntimeTypeEvaluator extends EditorEvaluationCommand<PsiType>
PrioritizedTask.Priority
myElement, myProgressIndicator
Constructor and Description |
---|
RuntimeTypeEvaluator(Editor editor,
PsiElement expression,
DebuggerContextImpl context,
ProgressIndicator indicator) |
Modifier and Type | Method and Description |
---|---|
protected PsiType |
evaluate(EvaluationContextImpl evaluationContext) |
static PsiType |
getCastableRuntimeType(Project project,
com.sun.jdi.Value value) |
static boolean |
isSubtypeable(PsiExpression expr) |
void |
threadAction(SuspendContextImpl suspendContext) |
protected abstract void |
typeCalculationFinished(PsiType type) |
evaluate, getPriority, showEvaluationHint
contextAction, getDebuggerContext, getSuspendContext, threadAction
action, contextAction
commandCancelled, notifyCancelled, run
hold, release, waitFor
public RuntimeTypeEvaluator(Editor editor, PsiElement expression, DebuggerContextImpl context, ProgressIndicator indicator)
public void threadAction(SuspendContextImpl suspendContext)
threadAction
in class DebuggerContextCommandImpl
protected abstract void typeCalculationFinished(PsiType type)
protected PsiType evaluate(EvaluationContextImpl evaluationContext) throws EvaluateException
evaluate
in class EditorEvaluationCommand<PsiType>
EvaluateException
public static PsiType getCastableRuntimeType(Project project, com.sun.jdi.Value value)
public static boolean isSubtypeable(PsiExpression expr)