e7aa8a9716a2451150a88d42d70a74d5df5a989e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method public getParam() : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.LocalCapture to public getParam() : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.Capture | From | To | |
Pull Up Method public hasField() : boolean from class com.google.devtools.j2objc.util.CaptureInfo.LocalCapture to public hasField() : boolean from class com.google.devtools.j2objc.util.CaptureInfo.Capture | From | To | |
Pull Up Method public getField() : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.LocalCapture to public getField() : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.Capture | From | To | |
Inline Method | 1 | ||
Inline Method public getCaptureParams(type TypeElement) : Iterable<VariableElement> inlined to public getImplicitPrefixParams(type TypeElement) : Iterable<VariableElement> in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Rename Variable | 3 | ||
Rename Variable targetField : VariableElement to receiverField : VariableElement in method private rewriteExpressionMethodReference(node ExpressionMethodReference) : void in class com.google.devtools.j2objc.translate.LambdaRewriter.RewriteContext | From | To | |
Rename Variable outerField : VariableElement to capture : Capture in method private getOrCreateOuterCapture(type TypeElement) : Capture in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Rename Variable outerParam : VariableElement to capture : Capture in method private getOrCreateOuterCapture(type TypeElement) : Capture in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private param : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.LocalCapture to protected param : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.Capture | From | To | |
Pull Up Attribute private field : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.LocalCapture to protected field : VariableElement from class com.google.devtools.j2objc.util.CaptureInfo.Capture | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.google.devtools.j2objc.util.CaptureInfo.Capture from classes [com.google.devtools.j2objc.util.CaptureInfo.LocalCapture] | From | To | |
Change Variable Type | 3 | ||
Change Variable Type outerField : VariableElement to capture : Capture in method private getOrCreateOuterCapture(type TypeElement) : Capture in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Change Variable Type outerParam : VariableElement to capture : Capture in method private getOrCreateOuterCapture(type TypeElement) : Capture in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Change Variable Type capture : CaptureInfo.LocalCapture to capture : CaptureInfo.Capture in method private addCaptureAssignments(constructor MethodDeclaration, type TypeElement) : void in class com.google.devtools.j2objc.translate.InitializationNormalizer | From | To | |
Extract Method | 3 | ||
Extract Method private getOuterCapture(type TypeElement) : Capture extracted from public getOuterParam(type TypeElement) : VariableElement in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Extract Method private getOrCreateOuterCapture(type TypeElement) : Capture extracted from public getOrCreateOuterParam(type TypeElement) : VariableElement in class com.google.devtools.j2objc.util.CaptureInfo | From | To | |
Extract Method private getOrCreateOuterCapture(type TypeElement) : Capture extracted from public getOrCreateOuterField(type TypeElement) : VariableElement in class com.google.devtools.j2objc.util.CaptureInfo | From | To |