Project: JDT
Bug 153881 [quick fix] 'Create annotation' does not appear for unresolved annotation in non-existing package
Reported: 2006-08-15 05:05:51 | Status: resolved fixed

I20060810-1230 package xy; public class SomeClass { @scratch.Unimportant void foo() {} // quick fix missing @Unimportant void foo2() {} // quick fix OK } Make sure there's no package 'scratch'. For '@scratch.Unimportant', only quick fixes to create class interface, or enum show up. Expected: only 'Create annotation'.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java