Project: JDT
Bug 80126 [assist] CompletionRequestor.setIgnored should allow POTENTIAL_METHOD_DECLARATION
Reported: 2004-12-03 12:33:51 | Status: verified fixed

20041203 The code in CompletionRequestor.setIgnored should be updated as new constants POTENTIAL_METHOD_DECLARATION and METHOD_NAME_REFERENCE are larger than VARIABLE_DECLARATION public final void setIgnored(int completionProposalKind, boolean ignore) { if (completionProposalKind < CompletionProposal.ANONYMOUS_CLASS_DECLARATION || completionProposalKind > CompletionProposal.VARIABLE_DECLARATION) { throw new IllegalArgumentException(); }

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/JavaTypeCompletionProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SimilarElementsRequestor.java