Project: JDT
Bug 421040 [dom] TypeBinding.getDeclaredModifiers simply delegates to getModifiers()
Reported: 2013-11-05 00:12:34 | Status: verified fixed

Per Javadoc, ITypeBinding.getDeclaredModifiers() is supposed to return "the modifiers ... as specified in the original source declaration of the class or interface". In the present implementation, it simply delegates to getModifiers() which is wrong.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ParameterObjectFactory.java