Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336231

Summary: [quick assist] "Invert conditions" not available for assert statement
Product: [Eclipse Project] JDT Reporter: Deepak Azad <deepakazad>
Component: UIAssignee: Deepak Azad <deepakazad>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: raksha.vasisht
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Deepak Azad CLA 2011-02-03 09:28:19 EST
HEAD

e.g.
--------------------------------------------------------
	void foobar() {
		String a = "";
		assert !(a instanceof String);
	}
--------------------------------------------------------

Fix to go in AdvancedQuickAssistProcessor.getBooleanExpression(ASTNode)
Comment 1 Deepak Azad CLA 2011-02-03 09:50:19 EST
Fixed in HEAD.
Comment 2 Raksha Vasisht CLA 2011-03-07 12:43:59 EST
Verified for 3.6 M6 with  N20110305-2000.