Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-debug-dev] IJavaVariable hierarchy API

We should add an interface hierarchy below IJavaVariable that mirrors the JDIVariable implementation hierarchy. 

An instance of where this would be useful is Bug 9501 
(http://bugs.eclipse.org/bugs/show_bug.cgi?id=9501), where we'd like to add 
the AddWatchpoint action to fields in the variables view. With the current 
API, I can only tell that I have an IJavaVariable. I can't tell if it's a 
field or a local, though the implementation makes this distinction.

The implementation hierarchy look like so:
JDIVariable
  JDIArrayPartition
  JDIModificationVariable
    JDIArrayEntryVariable
    JDIFieldVariable
    JDILocalVariable
  JDIThisVariable

Thoughts?

- Jared


Back to the top