cc05a011a002c52857335d9a72f826a96e3caf3a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private recordAndUpdateModule(t NodeTraversal, call Node) : void renamed to private recordGoogForwardDeclare(t NodeTraversal, call Node) : void in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Method private isExportPropAssign(n Node) : boolean renamed to private isExportPropertyAssignment(n Node) : boolean in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Method private maybeUpdateExportObjectDecl(t NodeTraversal, n Node) : void renamed to private maybeUpdateExportObjectLiteral(t NodeTraversal, n Node) : void in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Method public testAliasShadowsGlobal1() : void renamed to public testExport13() : void in class com.google.javascript.jscomp.ClosureRewriteModuleTest | From | To | |
Pull Up Method | 1 | ||
Pull Up Method private testError(js String[], error DiagnosticType) : void from class com.google.javascript.jscomp.ClosureCheckModuleImportsTest to public testError(js String[], error DiagnosticType) : void from class com.google.javascript.jscomp.CompilerTestCase | From | To | |
Move Method | 2 | ||
Move Method public shouldTraverse(t NodeTraversal, n Node, parent Node) : boolean from class com.google.javascript.jscomp.ClosureRewriteModule to public shouldTraverse(t NodeTraversal, n Node, parent Node) : boolean from class com.google.javascript.jscomp.ClosureRewriteModule.ScriptUpdater | From | To | |
Move Method public visit(t NodeTraversal, n Node, parent Node) : void from class com.google.javascript.jscomp.ClosureRewriteModule to public visit(t NodeTraversal, n Node, parent Node) : void from class com.google.javascript.jscomp.ClosureRewriteModule.ScriptUpdater | From | To | |
Rename Variable | 2 | ||
Rename Variable idNode : Node to namespaceNode : Node in method private recordGoogForwardDeclare(t NodeTraversal, call Node) : void in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Variable ctor : String to ctorName : String in method private visitScriptNode() : void in class com.google.javascript.jscomp.CheckProvides.CheckProvidesCallback | From | To | |
Extract Class | 1 | ||
Extract Class com.google.javascript.jscomp.ClosureRewriteModule.ScriptUpdater from class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Attribute | 3 | ||
Rename Attribute INVALID_REQUIRE_IDENTIFIER : DiagnosticType to INVALID_REQUIRE_NAMESPACE : DiagnosticType in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Attribute INVALID_MODULE_IDENTIFIER : DiagnosticType to INVALID_FORWARD_DECLARE_NAMESPACE : DiagnosticType in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Attribute INVALID_MODULE_IDENTIFIER : DiagnosticType to INVALID_MODULE_NAMESPACE : DiagnosticType in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Extract Method | 1 | ||
Extract Method private markConstAndCopyJsDoc(from Node, target Node, value Node) : void extracted from private maybeUpdateExportDeclToNode(t NodeTraversal, target Node, value Node) : void in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Parameter | 2 | ||
Rename Parameter qname : String to qualifiedName : String in method private isCallTo(n Node, qualifiedName String) : boolean in class com.google.javascript.jscomp.ClosureRewriteModule | From | To | |
Rename Parameter getprop : Node to getpropOrName : Node in method private visitQualifiedName(getpropOrName Node) : void in class com.google.javascript.jscomp.CheckRequiresForConstructors | From | To |