In order to be able to introduce property editors for various variable types, we need to create objects in the debugger's JVM, that would mirror the objects in the target JVM represented by the variables.
Therefore it's proposed to add methods like:
void setFromMirrorObject(Object obj)
Created attachment 133722 [details]
The API change with a test.
Please review this simple API change. Thanks.
Thanks for the review, I'll integrate the change tomorrow.
Thanks for the review, the change is pushed as changeset: 252311:511fce2a65b9
Integrated into 'main-golden', will be available in build *201305032300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #228894: The ability to get/set mirror objects from/to Variables.