Bug 80126

Summary: [assist] CompletionRequestor.setIgnored should allow POTENTIAL_METHOD_DECLARATION
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, philippe_mulet
Version: 3.0   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2004-12-03 12:33:51 EST
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();
}
Comment 1 David Audel CLA 2004-12-09 07:57:40 EST
Fixed.
Comment 2 Frederic Fusier CLA 2004-12-14 11:23:12 EST
Verified for 3.1 M4 using build I200412140800.