056fc2e73749685e1f0e3030e2ca4cb8f999d396
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private boxWithType(expr Expression, wrapperType ITypeBinding) : Expression renamed to private box(expr Expression, boxedType TypeMirror) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Rename Method private newBoxExpression(expr Expression, wrapperType ITypeBinding) : Expression renamed to private boxWithClass(expr Expression, boxedClass TypeElement) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type typeMirror : TypeMirror to typeMirror : ArrayType in method public ArrayInitializer(typeMirror ArrayType) in class com.google.devtools.j2objc.ast.ArrayInitializer | From | To | |
Change Parameter Type methodBinding : IMethodBinding to method : ExecutableElement in method private convertArguments(method ExecutableElement, args List<Expression>) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Parameter Type wrapperType : ITypeBinding to boxedType : TypeMirror in method private box(expr Expression, boxedType TypeMirror) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Parameter Type wrapperType : ITypeBinding to boxedClass : TypeElement in method private boxWithClass(expr Expression, boxedClass TypeElement) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Parameter Type newTypeMirror : TypeMirror to newTypeMirror : ArrayType in method public setTypeMirror(newTypeMirror ArrayType) : ArrayInitializer in class com.google.devtools.j2objc.ast.ArrayInitializer | From | To | |
Change Return Type | 6 | ||
Change Return Type TypeMirror to ArrayType in method public getTypeMirror() : ArrayType in class com.google.devtools.j2objc.ast.ArrayInitializer | From | To | |
Change Return Type Expression to void in method private box(expr Expression) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Return Type Expression to void in method private boxWithClass(expr Expression, boxedClass TypeElement) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Return Type Expression to void in method private unbox(expr Expression) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Return Type Expression to void in method private boxOrUnboxExpression(expr Expression, type TypeMirror) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Return Type Expression to void in method private box(expr Expression, boxedType TypeMirror) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Variable Type | 4 | ||
Change Variable Type exprType : ITypeBinding to exprType : TypeMirror in method public endVisit(node CastExpression) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Variable Type rhType : ITypeBinding to rhType : TypeMirror in method public endVisit(node Assignment) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Variable Type paramType : ITypeBinding to paramType : TypeMirror in method private convertArguments(method ExecutableElement, args List<Expression>) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Variable Type arrayType : TypeMirror to arrayType : ArrayType in method private fixStringValue(node SwitchStatement) : void in class com.google.devtools.j2objc.translate.SwitchRewriter | From | To | |
Extract Variable | 11 | ||
Extract Variable thenIsPrimitive : boolean in method public endVisit(node ConditionalExpression) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable exprIsPrimitive : boolean in method public endVisit(node ReturnStatement) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable returnsPrimitive : boolean in method public endVisit(node ReturnStatement) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable lhPrimitive : boolean in method public endVisit(node Assignment) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable nodeIsPrimitive : boolean in method public endVisit(node ConditionalExpression) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable initIsPrimitive : boolean in method public endVisit(node VariableDeclarationFragment) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable exprIsPrimitive : boolean in method private boxOrUnboxExpression(expr Expression, type TypeMirror) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable rhPrimitive : boolean in method public endVisit(node Assignment) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable typeIsPrimitive : boolean in method private boxOrUnboxExpression(expr Expression, type TypeMirror) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable elseIsPrimitive : boolean in method public endVisit(node ConditionalExpression) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable varIsPrimitive : boolean in method public endVisit(node VariableDeclarationFragment) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Inline Variable | 1 | ||
Inline Variable arg : Expression in method private convertArguments(methodBinding IMethodBinding, args List<Expression>) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type typeMirror : TypeMirror to typeMirror : ArrayType in class com.google.devtools.j2objc.ast.ArrayInitializer | From | To | |
Rename Parameter | 4 | ||
Rename Parameter arg : Expression to expr : Expression in method private boxOrUnboxExpression(expr Expression, type TypeMirror) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Rename Parameter methodBinding : IMethodBinding to method : ExecutableElement in method private convertArguments(method ExecutableElement, args List<Expression>) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Rename Parameter wrapperType : ITypeBinding to boxedClass : TypeElement in method private boxWithClass(expr Expression, boxedClass TypeElement) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Rename Parameter wrapperType : ITypeBinding to boxedType : TypeMirror in method private box(expr Expression, boxedType TypeMirror) : void in class com.google.devtools.j2objc.translate.Autoboxer | From | To |