4f4ec6f74e482a1021e9d2e8c46cff86f65e951d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getPrototype() : JSType renamed to public getPrototypePropertyOfCtor() : JSType in class com.google.javascript.jscomp.newtypes.NominalType | From | To | |
Rename Variable | 1 | ||
Rename Variable nominalType : RawNominalType to ns : Namespace in method public getType(typeName String) : JSType in class com.google.javascript.jscomp.NTIScope | From | To | |
Change Return Type | 1 | ||
Change Return Type JSType to ObjectTypeI in method public autoboxAndGetObject() : ObjectTypeI in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Extract Variable | 1 | ||
Extract Variable defsite : Node in method private withPropertyHelper(qname QualifiedName, type JSType, isDeclared boolean, isConstant boolean) : ObjectType from class com.google.javascript.jscomp.newtypes.ObjectType | From | To | |
Change Variable Type | 1 | ||
Change Variable Type nominalType : RawNominalType to ns : Namespace in method public getType(typeName String) : JSType in class com.google.javascript.jscomp.NTIScope | From | To | |
Extract Method | 1 | ||
Extract Method private getLeftmostPropHelper(qname QualifiedName, ownProp boolean) : Property extracted from private getLeftmostProp(qname QualifiedName) : Property in class com.google.javascript.jscomp.newtypes.ObjectType | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method package runsNTI() : boolean extracted from public test(externs List<SourceFile>, js String, expected String, error DiagnosticType, warning DiagnosticType, description String) : void in class com.google.javascript.jscomp.TypeICompilerTestCase & moved to class com.google.javascript.jscomp.TypeICompilerTestCase.TypeInferenceMode | From | To | |
Extract And Move Method package runsOTI() : boolean extracted from public test(externs List<SourceFile>, js String, expected String, error DiagnosticType, warning DiagnosticType, description String) : void in class com.google.javascript.jscomp.TypeICompilerTestCase & moved to class com.google.javascript.jscomp.TypeICompilerTestCase.TypeInferenceMode | From | To |