Bug 64604 Quickfix "put ... in parenthesis" shows wrong expression
With 3M9 I get for the expression if (!Integer.parseInt(value)>0) { a quickfix suggesting Put 'instanceof' in parenthesis "instanceof" is wrong there. Note: The quicktip showing the expected result is correct.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
if (expression.getOperator() == PrefixExpression.Operator.NOT) {
				ASTNode parent= expression.getParent();
				
				switch (parent.getNodeType()) {
					case ASTNode.INSTANCEOF_EXPRESSION:
					case ASTNode.INFIX_EXPRESSION: {
						ASTRewrite rewrite= ASTRewrite.create(ast);
						rewrite.replace(selectedNode, rewrite.createMoveTarget(expression.getOperand()), null);
						
						ParenthesizedExpression newParentExpr= ast.newParenthesizedExpression();
						newParentExpr.setExpression((Expression) rewrite.createMoveTarget(parent));
						PrefixExpression newPrefixExpr= ast.newPrefixExpression();
						newPrefixExpr.setOperand(newParentExpr);
						newPrefixExpr.setOperator(PrefixExpression.Operator.NOT);
						
						rewrite.replace(parent, newPrefixExpr, null);
						
						String label= CorrectionMessages.getString("LocalCorrectionsSubProcessor.setparenteses.description"); 
						Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
						ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal(label, context.getCompilationUnit(), rewrite, 5, image); 
						proposals.add(proposal);
					}
					break;
				}
			}
		}
	}
	
}