Project: JDT
Bug 88769 IMethodBinding#getJavaElement() drops extra array dimensions and varargs
Reported: 2005-03-22 12:00:16 | Status: verified fixed

v_542 IMethodBinding#getJavaElement() drops extra array dimensions and varargs: public class TestArray { public int[] bar(int a[]) { // element is (nonexistent): test1.TestArray.bar(int) return a; } public Object[] bar2(Object[] o[][]) [][] { // element is (nonexistent): test1.TestArray.bar2(Object[]) return o; } public void bar3(Object... objs) { // element is (nonexistent): test1.TestArray.bar3(Object) } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java