96f1ed68df4d9085f60f62214008dfe67df92089
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public namedParametersChecker_ignoresCall_onRequiredNamesMethodWithComments() : void renamed to public namedParametersChecker_ignoresComment_nonMatchinglineAfter() : void in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterCheckerTest | From | To | |
Rename Method public namedParametersChecker_doesNotMatchComment_withSpacesAndExtraText() : void renamed to public namedParametersChecker_reformatsComment_onRequiredNamesMethod() : void in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterCheckerTest | From | To | |
Rename Method public namedParametersChecker_suggestsCommentsAndSwaps_onRequiredNamesMethod() : void renamed to public namedParametersChecker_reformatsComment_withNoEquals() : void in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterCheckerTest | From | To | |
Rename Method public namedParametersChecker_suggestsComments_onRequiredNamesMethod() : void renamed to public namedParametersChecker_reformatsComment_blockAfter() : void in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterCheckerTest | From | To | |
Rename Variable | 1 | ||
Rename Variable argumentWithBadLabel : LabelledArgument to labelledArgument : LabelledArgument in method private matchNewClassOrMethodInvocation(symbol MethodSymbol, arguments ImmutableList<Commented<ExpressionTree>>, tree Tree) : Description in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterChecker | From | To | |
Change Return Type | 1 | ||
Change Return Type MatchType to MatchedComment in method package match(actual Commented<ExpressionTree>, formal String) : MatchedComment in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterComment | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable argumentWithBadLabel : LabelledArgument to labelledArgument : LabelledArgument in method private addComment(labelledArgument LabelledArgument, fixBuilder SuggestedFix.Builder) : void in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterChecker | From | To | |
Extract Method | 2 | ||
Extract Method private addComment(labelledArgument LabelledArgument, fixBuilder SuggestedFix.Builder) : void extracted from private matchNewClassOrMethodInvocation(symbol MethodSymbol, arguments ImmutableList<Commented<ExpressionTree>>, tree Tree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterChecker | From | To | |
Extract Method private removeComment(comment Comment, fixBuilder SuggestedFix.Builder) : void extracted from private matchNewClassOrMethodInvocation(symbol MethodSymbol, arguments ImmutableList<Commented<ExpressionTree>>, tree Tree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterChecker | From | To |