Community
Participate
Working Groups
I20080408-0800 package a.b; enum Color { RED, BLUE(1), GREEN() {}; Color(int i) {} Color() { new Cloneable() {}; } } Look at the IType for GREEN (child of the IField): - #getNameRange() is "{" after GREEN, expected "GREEN" - #getSourceRange is from 0 to after "... GREEN() {}", expected "GREEN() {}" Hint: First doubleclick on element in JavaElement view is name range, second doubleclick is source range.
Created attachment 95505 [details] Proposed fix and regression tests
Fix and tests released for 3.4M7
Verified for 3.4 M7 using build I20080427-2000.