e5bc20485e60024822f798df49511aebfe028565
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type function : FunctionDeclaration to methodBinding : IMethodBinding in method private setFunctionCaller(method MethodDeclaration, methodBinding IMethodBinding) : void in class com.google.devtools.j2objc.translate.Functionizer | From | To | |
Rename Variable | 2 | ||
Rename Variable binding : IOSMethodBinding to classBinding : IOSMethodBinding in method private createCastCheck(type ITypeBinding, expr Expression) : FunctionInvocation in class com.google.devtools.j2objc.translate.CastResolver | From | To | |
Rename Variable idType : ITypeBinding to voidType : ITypeBinding in method private createVolatileCloneStatement(var IVariableBinding, originalVar IVariableBinding, isWeak boolean) : Statement in class com.google.devtools.j2objc.translate.JavaCloneWriter | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [name : String, declaredReturnType : ITypeBinding, declaringType : ITypeBinding] to functionBinding : FunctionBinding in method public FunctionInvocation(functionBinding FunctionBinding, typeBinding ITypeBinding) in class com.google.devtools.j2objc.ast.FunctionInvocation | From | To | |
Extract Variable | 6 | ||
Extract Variable pointerType : ITypeBinding in method private rewriteBoxedAssignment(node Assignment) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable idType : ITypeBinding in method private rewriteRegularAssignment(node Assignment) : void from class com.google.devtools.j2objc.translate.OperatorRewriter | From | To | |
Extract Variable pointerType : ITypeBinding in method private rewriteBoxedPrefixOrPostfix(node TreeNode, operand Expression, funcName String) : void from class com.google.devtools.j2objc.translate.Autoboxer | From | To | |
Extract Variable lhsPointerType : ITypeBinding in method private rewriteCompoundAssign(node Assignment) : void from class com.google.devtools.j2objc.translate.OperatorRewriter | From | To | |
Extract Variable rhs : Expression in method private rewriteCompoundAssign(node Assignment) : void from class com.google.devtools.j2objc.translate.OperatorRewriter | From | To | |
Extract Variable idType : ITypeBinding in method private rewriteVolatileLoad(node Expression) : void from class com.google.devtools.j2objc.translate.OperatorRewriter | From | To | |
Inline Variable | 1 | ||
Inline Variable declaringClass : ITypeBinding in method private visitConstructorInvocation(node Statement, binding IMethodBinding, args List<Expression>) : void from class com.google.devtools.j2objc.translate.Functionizer | From | To | |
Extract Method | 1 | ||
Extract Method private newFunctionBinding(method IMethodBinding) : FunctionBinding extracted from private visitConstructorInvocation(node Statement, binding IMethodBinding, args List<Expression>) : void in class com.google.devtools.j2objc.translate.Functionizer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter function : FunctionDeclaration to methodBinding : IMethodBinding in method private setFunctionCaller(method MethodDeclaration, methodBinding IMethodBinding) : void in class com.google.devtools.j2objc.translate.Functionizer | From | To |