3a973401a7a1e28d531c8d89735b014c402d684c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getInvocationArguments() : List<Expression> renamed to public getTypeArguments() : List<Type> in class com.google.devtools.j2objc.ast.MethodReference | From | To | |
Rename Method private hasRegion(s String, lines String[]) : boolean renamed to private unmatchedLineIndex(s String, lines String[]) : int in class com.google.devtools.j2objc.GenerationTest | From | To | |
Rename Method public testBoxingAndUnboxing() : void renamed to public testArgumentBoxingAndUnboxing() : void in class com.google.devtools.j2objc.ast.MethodReferenceTest | From | To | |
Rename Method private hasSegments(s String, lines String[]) : boolean renamed to private firstIncorrectSegment(s String, lines String[]) : String in class com.google.devtools.j2objc.GenerationTest | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public createMethodReferenceInvocationArguments(node MethodReference) : boolean from class com.google.devtools.j2objc.translate.ArrayRewriter to public buildMethodReferenceInvocationArguments(invocationArguments List<Expression>, node MethodReference) : void from class com.google.devtools.j2objc.translate.Rewriter | From | To | |
Rename Variable | 2 | ||
Rename Variable methodBinding : IMethodBinding to functionalInterface : IMethodBinding in method public printMethodReference(node MethodReference) : boolean in class com.google.devtools.j2objc.gen.StatementGenerator | From | To | |
Inline Method | 1 | ||
Inline Method private printBlockOptionalReturn(returnType ITypeBinding, isSelector boolean) : void inlined to private printBlockCallWrapper(methodBinding IMethodBinding) : void in class com.google.devtools.j2objc.gen.StatementGenerator | From | To | |
Change Return Type | 4 | ||
Change Return Type boolean to String in method private firstIncorrectSegment(s String, lines String[]) : String in class com.google.devtools.j2objc.GenerationTest | From | To | |
Change Return Type List<Expression> to List<Type> in method public getTypeArguments() : List<Type> in class com.google.devtools.j2objc.ast.MethodReference | From | To | |
Change Return Type boolean to void in method public buildMethodReferenceInvocationArguments(invocationArguments List<Expression>, node MethodReference) : void in class com.google.devtools.j2objc.translate.Rewriter | From | To | |
Change Return Type boolean to int in method private unmatchedLineIndex(s String, lines String[]) : int in class com.google.devtools.j2objc.GenerationTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute invocationArguments : ChildList<Expression> to invocation : ChildLink<Statement> in class com.google.devtools.j2objc.ast.MethodReference | From | To | |
Extract Method | 4 | ||
Extract Method public printMethodReference(node MethodReference) : boolean extracted from public visit(node ExpressionMethodReference) : boolean in class com.google.devtools.j2objc.gen.StatementGenerator | From | To | |
Extract Method public printMethodReference(node MethodReference) : boolean extracted from public visit(node CreationReference) : boolean in class com.google.devtools.j2objc.gen.StatementGenerator | From | To | |
Extract Method public printMethodReference(node MethodReference) : boolean extracted from public visit(node TypeMethodReference) : boolean in class com.google.devtools.j2objc.gen.StatementGenerator | From | To | |
Extract Method public printMethodReference(node MethodReference) : boolean extracted from public visit(node SuperMethodReference) : boolean in class com.google.devtools.j2objc.gen.StatementGenerator | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type invocationArguments : ChildList<Expression> to invocation : ChildLink<Statement> in class com.google.devtools.j2objc.ast.MethodReference | From | To |