adc0b3be92e9f8a1b510926feba6bb357c64deb2
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private addRef(ref Ref) : void renamed to private updateStateForAddedRef(ref Ref) : void in class com.google.javascript.jscomp.GlobalNamespace.Name | From | To | |
Extract Method | 6 | ||
Extract Method private addOrConfirmTwinRefs(nameObj Name, node Node, setRefType Ref.Type, module JSModule, scope Scope) : void extracted from package handleSetFromGlobal(module JSModule, scope Scope, n Node, parent Node, name String, type Name.Type) : void in class com.google.javascript.jscomp.GlobalNamespace.BuildGlobalNamespace | From | To | |
Extract Method private addOrConfirmRef(nameObj Name, node Node, refType Ref.Type, module JSModule, scope Scope) : void extracted from package handleSetFromLocal(module JSModule, scope Scope, n Node, parent Node, name String) : void in class com.google.javascript.jscomp.GlobalNamespace.BuildGlobalNamespace | From | To | |
Extract Method private addOrConfirmTwinRefs(nameObj Name, node Node, setRefType Ref.Type, module JSModule, scope Scope) : void extracted from package handleSetFromLocal(module JSModule, scope Scope, n Node, parent Node, name String) : void in class com.google.javascript.jscomp.GlobalNamespace.BuildGlobalNamespace | From | To | |
Extract Method private addOrConfirmRef(nameObj Name, node Node, refType Ref.Type, module JSModule, scope Scope) : void extracted from package handleGet(module JSModule, scope Scope, n Node, parent Node, name String, type Ref.Type) : void in class com.google.javascript.jscomp.GlobalNamespace.BuildGlobalNamespace | From | To | |
Extract Method private removeRefAndUpdateState(ref Ref) : void extracted from package removeRef(ref Ref) : void in class com.google.javascript.jscomp.GlobalNamespace.Name | From | To | |
Extract Method private addOrConfirmRef(nameObj Name, node Node, refType Ref.Type, module JSModule, scope Scope) : void extracted from package handleSetFromGlobal(module JSModule, scope Scope, n Node, parent Node, name String, type Name.Type) : void in class com.google.javascript.jscomp.GlobalNamespace.BuildGlobalNamespace | From | To | |
Rename Parameter | 1 | ||
Rename Parameter node : Node to newNode : Node in method package updateRefNode(ref Ref, newNode Node) : void in class com.google.javascript.jscomp.GlobalNamespace.Name | From | To |