fe3aaefe5427b35534cc2bf139e9e882009ed809
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public hoist(expression JsExpression) : JsExpression renamed to public clone(expression JsExpression) : JsExpression in class com.google.gwt.dev.js.JsSafeCloner | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type args : Collection<JsExpression> to args : Iterable<JsExpression> in method public JsInvocation(sourceInfo SourceInfo, function JsFunction, args Iterable<JsExpression>) in class com.google.gwt.dev.js.ast.JsInvocation | From | To | |
Rename Variable | 2 | ||
Rename Variable ref : JsNameRef to reference : JsNameRef in method public createBridge(method JMethod, polyName JsName, scope JsScope) : JsFunction in class com.google.gwt.dev.js.JsUtils | From | To | |
Rename Variable x : JParameter to parameter : JParameter in method private createParameter(info SourceInfo, name String, type JType, isFinal boolean, isVarargs boolean, isThis boolean) : JParameter in class com.google.gwt.dev.jjs.ast.JMethod | From | To | |
Rename Class | 1 | ||
Rename Class com.google.gwt.dev.js.JsHoister renamed to com.google.gwt.dev.js.JsSafeCloner | From | To | |
Extract Variable | 2 | ||
Extract Variable parameterList : List<JParameter> in method public transformMethod(method JMethod) : JsNode from class com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.GenerateJavaScriptTransformer | From | To | |
Extract Variable sourceInfo : SourceInfo in method public transformMethodCall(methodCall JMethodCall) : JsNode from class com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.GenerateJavaScriptTransformer | From | To | |
Inline Variable | 1 | ||
Inline Variable arrayInstance : JExpression in method public endVisit(x JBinaryOperation, ctx Context) : void from class com.google.gwt.dev.jjs.impl.ArrayNormalizer.ArrayVisitor | From | To | |
Extract Method | 1 | ||
Extract Method private createParameter(info SourceInfo, name String, type JType, isFinal boolean, isVarargs boolean, isThis boolean) : JParameter extracted from private createParameter(info SourceInfo, name String, type JType, isFinal boolean, isThis boolean) : JParameter in class com.google.gwt.dev.jjs.ast.JMethod | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getInitializerArray(x JNewArray) : JsonArray extracted from public endVisit(x JNewArray, ctx Context) : void in class com.google.gwt.dev.jjs.impl.ArrayNormalizer.ArrayVisitor & moved to class com.google.gwt.dev.jjs.impl.ArrayNormalizer | From | To | |
Extract And Move Method private needsSetCheck(x JBinaryOperation) : JArrayRef extracted from public endVisit(x JBinaryOperation, ctx Context) : void in class com.google.gwt.dev.jjs.impl.ArrayNormalizer.ArrayVisitor & moved to class com.google.gwt.dev.jjs.impl.ArrayNormalizer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter isThis : boolean to isVarargs : boolean in method public createParameter(info SourceInfo, name String, type JType, isFinal boolean, isVarargs boolean) : JParameter in class com.google.gwt.dev.jjs.ast.JMethod | From | To |