c299f92e39007ec8b63329e8691c0f47c409926e
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public matches(tree T, state VisitorState) : boolean renamed to protected getChildNodes(tree T, state VisitorState) : Iterable<? extends AnnotationTree> in class com.google.errorprone.matchers.Annotation | From | To | |
Push Down Method | 1 | ||
Push Down Method public MultiMatcher(matchType MatchType, nodeMatcher Matcher<N>) from class com.google.errorprone.matchers.MultiMatcher to public ChildMultiMatcher(matchType MatchType, nodeMatcher Matcher<N>) from class com.google.errorprone.matchers.ChildMultiMatcher | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public HasIdentifier(matchType MatchType, nodeMatcher Matcher<IdentifierTree>) from class com.google.errorprone.matchers.HasIdentifier to public ChildOfBlockOrCase(matchType MatchType, nodeMatcher Matcher<StatementTree>) from class com.google.errorprone.bugpatterns.DeadException.ChildOfBlockOrCase | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type matchType : MatchType to ancestorState : VisitorState in method public HasIdentifierScanner(ancestorState VisitorState, idMatcher Matcher<IdentifierTree>) in class com.google.errorprone.matchers.HasIdentifier.HasIdentifierScanner | From | To | |
Change Parameter Type nodeMatcher : Matcher<IdentifierTree> to nodeMatcher : Matcher<StatementTree> in method public ChildOfBlockOrCase(matchType MatchType, nodeMatcher Matcher<StatementTree>) in class com.google.errorprone.bugpatterns.DeadException.ChildOfBlockOrCase | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to Iterable<? extends AnnotationTree> in method protected getChildNodes(tree T, state VisitorState) : Iterable<? extends AnnotationTree> in class com.google.errorprone.matchers.Annotation | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute package nodeMatcher : Matcher<N> from class com.google.errorprone.matchers.MultiMatcher to protected nodeMatcher : Matcher<N> from class com.google.errorprone.matchers.ChildMultiMatcher | From | To | |
Move Class | 1 | ||
Move Class com.google.errorprone.matchers.MultiMatcher.MatchType moved to com.google.errorprone.matchers.ChildMultiMatcher.MatchType | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.google.errorprone.matchers.ChildMultiMatcher from classes [com.google.errorprone.matchers.Annotation, com.google.errorprone.matchers.ConstructorOfClass, com.google.errorprone.matchers.MethodHasParameters] | From | To | |
Rename Parameter | 1 | ||
Rename Parameter matchType : MatchType to ancestorState : VisitorState in method public HasIdentifierScanner(ancestorState VisitorState, idMatcher Matcher<IdentifierTree>) in class com.google.errorprone.matchers.HasIdentifier.HasIdentifierScanner | From | To |