public class ArrayElementDescriptorImpl extends ValueDescriptorImpl implements ArrayElementDescriptor
myIsNew, myProject, myStoredEvaluationContextLOG, 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, setValueLabelFailedgetEvaluateException, getMarkupMap, getUserData, putUserData, setFailed, setLabel, toString, updateRepresentation, updateRepresentationNoNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdisplayAs, getLabel, setAncestorgetUserData, putUserDatagetTypepublic ArrayElementDescriptorImpl(Project project, com.sun.jdi.ArrayReference array, int index)
public int getIndex()
getIndex in interface ArrayElementDescriptorpublic com.sun.jdi.ArrayReference getArray()
getArray in interface ArrayElementDescriptorpublic java.lang.String getName()
getName in interface NodeDescriptorgetName in class NodeDescriptorImplpublic void setValue(com.sun.jdi.Value value)
public com.sun.jdi.Value calcValue(EvaluationContextImpl evaluationContext) throws EvaluateException
calcValue in class ValueDescriptorImplEvaluateExceptionpublic static com.sun.jdi.Value getArrayElement(com.sun.jdi.ArrayReference reference,
int idx)
throws EvaluateException
EvaluateExceptionpublic PsiExpression getDescriptorEvaluation(DebuggerContext context) throws EvaluateException
getDescriptorEvaluation in interface ValueDescriptorgetDescriptorEvaluation in class ValueDescriptorImplEvaluateExceptionpublic XValueModifier getModifier(JavaValue value)
getModifier in class ValueDescriptorImpl