public abstract class ValueDescriptorImpl extends NodeDescriptorImpl implements ValueDescriptor
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
myIsNew |
protected Project |
myProject |
protected EvaluationContextImpl |
myStoredEvaluationContext |
LOG, myIsExpanded, myIsSelected, myIsSynthetic, myIsVisible, UNKNOWN_VALUE_MESSAGE| Modifier | Constructor and Description |
|---|---|
protected |
ValueDescriptorImpl(Project project) |
protected |
ValueDescriptorImpl(Project project,
com.sun.jdi.Value value) |
getEvaluateException, getMarkupMap, getName, getUserData, putUserData, setFailed, setLabel, toString, updateRepresentation, updateRepresentationNoNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypegetNamegetUserData, putUserDataprotected final Project myProject
protected EvaluationContextImpl myStoredEvaluationContext
protected boolean myIsNew
protected ValueDescriptorImpl(Project project, com.sun.jdi.Value value)
protected ValueDescriptorImpl(Project project)
public boolean isArray()
isArray in interface ValueDescriptorpublic boolean isDirty()
public boolean isLvalue()
isLvalue in interface ValueDescriptorpublic boolean isNull()
isNull in interface ValueDescriptorpublic boolean isString()
isString in interface ValueDescriptorpublic boolean isPrimitive()
isPrimitive in interface ValueDescriptorpublic boolean isEnumConstant()
public boolean isValueValid()
public boolean isShowIdLabel()
public void setShowIdLabel(boolean showIdLabel)
public boolean isValueReady()
public com.sun.jdi.Value getValue()
getValue in interface ValueDescriptorpublic boolean isExpandable()
isExpandable in class NodeDescriptorImplpublic abstract com.sun.jdi.Value calcValue(EvaluationContextImpl evaluationContext) throws EvaluateException
EvaluateExceptionpublic final void setContext(EvaluationContextImpl evaluationContext)
setContext in class NodeDescriptorImplprotected boolean isPrintExceptionToConsole()
protected static com.sun.jdi.Value invokeExceptionGetStackTrace(com.sun.jdi.ObjectReference exceptionObj,
EvaluationContextImpl evaluationContext)
throws EvaluateException
EvaluateExceptionpublic void setAncestor(NodeDescriptor oldDescriptor)
setAncestor in interface NodeDescriptorsetAncestor in class NodeDescriptorImplprotected void setLvalue(boolean value)
protected java.lang.String calcRepresentation(EvaluationContextImpl context, DescriptorLabelListener labelListener)
calcRepresentation in class NodeDescriptorImplpublic java.lang.String getLabel()
getLabel in interface NodeDescriptorgetLabel in class NodeDescriptorImplpublic ValueDescriptorImpl getFullValueDescriptor()
public void setValueLabel(java.lang.String label)
setValueLabel in interface ValueDescriptorpublic java.lang.String setValueLabelFailed(EvaluateException e)
setValueLabelFailed in interface ValueDescriptorpublic javax.swing.Icon setValueIcon(javax.swing.Icon icon)
setValueIcon in interface ValueDescriptorpublic javax.swing.Icon getValueIcon()
public java.lang.String calcValueName()
public java.lang.String getDeclaredType()
public void displayAs(NodeDescriptor descriptor)
displayAs in interface NodeDescriptordisplayAs in class NodeDescriptorImplpublic Renderer getLastRenderer()
public Renderer getLastLabelRenderer()
public NodeRenderer getChildrenRenderer(DebugProcessImpl debugProcess)
public NodeRenderer getRenderer(DebugProcessImpl debugProcess)
public void setRenderer(NodeRenderer renderer)
public PsiElement getTreeEvaluation(JavaValue value, DebuggerContextImpl context) throws EvaluateException
EvaluateExceptionpublic abstract PsiExpression getDescriptorEvaluation(DebuggerContext context) throws EvaluateException
getDescriptorEvaluation in interface ValueDescriptorEvaluateExceptionpublic static java.lang.String getIdLabel(com.sun.jdi.ObjectReference objRef)
public boolean canSetValue()
public XValueModifier getModifier(JavaValue value)
public java.lang.String getIdLabel()
public java.lang.String getValueLabel()
public java.lang.String getValueText()
public void clear()
clear in class NodeDescriptorImplpublic ValueMarkup getMarkup(DebugProcess debugProcess)
getMarkup in interface ValueDescriptorpublic void setMarkup(DebugProcess debugProcess, ValueMarkup markup)
setMarkup in interface ValueDescriptorpublic boolean canMark()
public Project getProject()
public java.lang.String getDeclaredTypeLabel()
public EvaluationContextImpl getStoredEvaluationContext()