public abstract class EvaluationDescriptor extends ValueDescriptorImpl
Modifier and Type | Field and Description |
---|---|
protected TextWithImports |
myText |
myIsNew, myProject, myStoredEvaluationContext
LOG, myIsExpanded, myIsSelected, myIsSynthetic, myIsVisible, UNKNOWN_VALUE_MESSAGE
Modifier | Constructor and Description |
---|---|
protected |
EvaluationDescriptor(TextWithImports text,
Project project) |
protected |
EvaluationDescriptor(TextWithImports text,
Project project,
com.sun.jdi.Value value) |
Modifier and Type | Method and Description |
---|---|
com.sun.jdi.Value |
calcValue(EvaluationContextImpl evaluationContext) |
boolean |
canSetValue() |
PsiCodeFragment |
createCodeFragment(PsiElement context) |
PsiExpression |
getDescriptorEvaluation(DebuggerContext context) |
protected abstract PsiCodeFragment |
getEvaluationCode(StackFrameContext context) |
protected abstract EvaluationContextImpl |
getEvaluationContext(EvaluationContextImpl evaluationContext) |
TextWithImports |
getEvaluationText() |
Modifier |
getModifier() |
XValueModifier |
getModifier(JavaValue value) |
protected boolean |
isPrintExceptionToConsole() |
calcRepresentation, calcValueName, canMark, clear, displayAs, getChildrenRenderer, getDeclaredType, getDeclaredTypeLabel, getFullValueDescriptor, getIdLabel, getIdLabel, getLabel, getLastLabelRenderer, getLastRenderer, getMarkup, getProject, getRenderer, getStoredEvaluationContext, getTreeEvaluation, getValue, getValueIcon, getValueLabel, getValueText, invokeExceptionGetStackTrace, isArray, isDirty, isEnumConstant, isExpandable, isLvalue, isNull, isPrimitive, isShowIdLabel, isString, isValueReady, isValueValid, setAncestor, setContext, setLvalue, setMarkup, setRenderer, setShowIdLabel, setValueIcon, setValueLabel, setValueLabelFailed
getEvaluateException, getMarkupMap, getName, getUserData, putUserData, setFailed, setLabel, toString, updateRepresentation, updateRepresentationNoNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
getName
getUserData, putUserData
protected TextWithImports myText
protected EvaluationDescriptor(TextWithImports text, Project project, com.sun.jdi.Value value)
protected EvaluationDescriptor(TextWithImports text, Project project)
protected abstract EvaluationContextImpl getEvaluationContext(EvaluationContextImpl evaluationContext)
protected abstract PsiCodeFragment getEvaluationCode(StackFrameContext context) throws EvaluateException
EvaluateException
public PsiCodeFragment createCodeFragment(PsiElement context)
public final com.sun.jdi.Value calcValue(EvaluationContextImpl evaluationContext) throws EvaluateException
calcValue
in class ValueDescriptorImpl
EvaluateException
public PsiExpression getDescriptorEvaluation(DebuggerContext context) throws EvaluateException
getDescriptorEvaluation
in interface ValueDescriptor
getDescriptorEvaluation
in class ValueDescriptorImpl
EvaluateException
protected boolean isPrintExceptionToConsole()
isPrintExceptionToConsole
in class ValueDescriptorImpl
public Modifier getModifier()
public boolean canSetValue()
canSetValue
in class ValueDescriptorImpl
public TextWithImports getEvaluationText()
public XValueModifier getModifier(JavaValue value)
getModifier
in class ValueDescriptorImpl