Project: JDT
Bug 335173 [clean up][quick assist][inline] Fix detection and creation of unnecessary parentheses
Reported: 2011-01-24 06:28:51 | Status: verified fixed


Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test39_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test39_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test40_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test40_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test41_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test41_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test42_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test42_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test43_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test43_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test625.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test626.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test627.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test628.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test629.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test625.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test626.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test627.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test628.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test629.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test105_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test105_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test106_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test106_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test107_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test107_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test108_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test108_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test109_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test109_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test24/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test33/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test35/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test35/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test36/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test36/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test37/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test37/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_out/TestArray.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestInfixExpression1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestInfixExpression2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestInfixExpression1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestInfixExpression2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/expression_out/TestConditionalExpression.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_in/TestDiffPlus.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_in/TestPlusPlus_1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestDiffPlus.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestPlusPlus.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestPlusPlus_1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestTimesTimes.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_out/TestComment2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test36_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test36_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test41_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test41_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test42_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test42_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test43_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test43_out.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression1.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression2.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression3.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression4.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression5.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression1.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression2.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression3.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression4.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression5.java org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/object_in/TestCompoundWrite4.java org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/object_out/TestCompoundWrite4.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractConstantTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractTempTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineConstantTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SefTests.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/GetterSetterQuickFixTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GetterSetterUtil.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NecessaryParenthesesChecker.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/AccessAnalyzer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java