dabe1f44b4578f458565e5a37f6b7666d072e29f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 1 | ||
Pull Up Method public ClosureCheckModule(compiler AbstractCompiler) from class com.google.javascript.jscomp.ClosureCheckModule to package AbstractModuleCallback(compiler AbstractCompiler, moduleMetadataMap ModuleMetadataMap) from class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private compiler : AbstractCompiler from class com.google.javascript.jscomp.ClosureCheckModule to protected compiler : AbstractCompiler from class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback | From | To | |
Rename Attribute | 1 | ||
Rename Attribute currentModule : ModuleInfo to currentModuleInfo : ModuleInfo in class com.google.javascript.jscomp.ClosureCheckModule | From | To | |
Extract Method | 1 | ||
Extract Method protected shouldTraverse(t NodeTraversal, n Node, currentModule ModuleMetadata, moduleScopeRoot Node) : boolean extracted from public shouldTraverse(t NodeTraversal, n Node, parent Node) : boolean in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type gatherModuleMetadataPass : PassFactory to gatherModuleMetadataPass : HotSwapPassFactory in class com.google.javascript.jscomp.DefaultPassConfig | From | To | |
Rename Parameter | 2 | ||
Rename Parameter scopeRoot : Node to moduleScopeRoot : Node in method public exitModule(currentModule ModuleMetadata, moduleScopeRoot Node) : void in class com.google.javascript.jscomp.ClosureCheckModule | From | To | |
Rename Parameter parent : Node to moduleScopeRoot : Node in method protected visit(t NodeTraversal, n Node, currentModule ModuleMetadata, moduleScopeRoot Node) : void in class com.google.javascript.jscomp.ClosureCheckModule | From | To |