public JavaWatchpointWatchable( Field field, Value currentValue, Value newValue, String classFqName, ThreadReference threadReference) { super(classFqName, threadReference); JavaValue current = ValueUtil.getInstance().fromJDI(currentValue, classFqName, threadReference); JavaValue neww = ValueUtil.getInstance().fromJDI(newValue, classFqName, threadReference); myValue = new FieldWatchpointValue(field, false, current, neww, classFqName, threadReference); }
public JavaField( Field field, ObjectReference parent, String classFqName, ThreadReference threadReference) { super(classFqName, threadReference); myField = field; myParent = parent; myCachedValue = ValueUtil.getInstance().fromJDI(myParent.getValue(myField), classFqName, threadReference); }
public JavaArrayItemWatchable( ArrayReference arrayReference, int index, String classFqName, ThreadReference threadReference) { super(classFqName, threadReference); myArray = arrayReference; myIndex = index; myValue = ValueUtil.getInstance() .fromJDI(myArray.getValue(myIndex), myClassFQName, myThreadReference); }