public class ArrayElementDescriptorImpl extends ValueDescriptorImpl implements ArrayElementDescriptor
myIsNew, myProject, myStoredEvaluationContext
LOG, myIsExpanded, myIsSelected, myIsSynthetic, myIsVisible, UNKNOWN_VALUE_MESSAGE
Constructor and Description |
---|
ArrayElementDescriptorImpl(Project project,
com.sun.jdi.ArrayReference array,
int index) |
Modifier and Type | Method and Description |
---|---|
com.sun.jdi.Value |
calcValue(EvaluationContextImpl evaluationContext) |
com.sun.jdi.ArrayReference |
getArray() |
static com.sun.jdi.Value |
getArrayElement(com.sun.jdi.ArrayReference reference,
int idx) |
PsiExpression |
getDescriptorEvaluation(DebuggerContext context) |
int |
getIndex() |
XValueModifier |
getModifier(JavaValue value) |
java.lang.String |
getName() |
void |
setValue(com.sun.jdi.Value value) |
calcRepresentation, calcValueName, canMark, canSetValue, 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, isPrintExceptionToConsole, isShowIdLabel, isString, isValueReady, isValueValid, setAncestor, setContext, setLvalue, setMarkup, setRenderer, setShowIdLabel, setValueIcon, setValueLabel, setValueLabelFailed
getEvaluateException, getMarkupMap, getUserData, putUserData, setFailed, setLabel, toString, updateRepresentation, updateRepresentationNoNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
displayAs, getLabel, setAncestor
getUserData, putUserData
getType
public ArrayElementDescriptorImpl(Project project, com.sun.jdi.ArrayReference array, int index)
public int getIndex()
getIndex
in interface ArrayElementDescriptor
public com.sun.jdi.ArrayReference getArray()
getArray
in interface ArrayElementDescriptor
public java.lang.String getName()
getName
in interface NodeDescriptor
getName
in class NodeDescriptorImpl
public void setValue(com.sun.jdi.Value value)
public com.sun.jdi.Value calcValue(EvaluationContextImpl evaluationContext) throws EvaluateException
calcValue
in class ValueDescriptorImpl
EvaluateException
public static com.sun.jdi.Value getArrayElement(com.sun.jdi.ArrayReference reference, int idx) throws EvaluateException
EvaluateException
public PsiExpression getDescriptorEvaluation(DebuggerContext context) throws EvaluateException
getDescriptorEvaluation
in interface ValueDescriptor
getDescriptorEvaluation
in class ValueDescriptorImpl
EvaluateException
public XValueModifier getModifier(JavaValue value)
getModifier
in class ValueDescriptorImpl