d28e5e40a90ad7c184481bd32cc62187bda6f89e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testUnionType() : void renamed to public testUnionType_1() : void in class com.google.javascript.jscomp.DisambiguatePropertiesTest | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type targetType : JSType to targetType : TypeI in method package recordImplicitInterfaceUses(implicitInterfaceUses List<TypeMismatch>, src Node, sourceType TypeI, targetType TypeI) : void in class com.google.javascript.jscomp.TypeMismatch | From | To | |
Change Parameter Type sourceType : JSType to sourceType : TypeI in method package recordImplicitInterfaceUses(implicitInterfaceUses List<TypeMismatch>, src Node, sourceType TypeI, targetType TypeI) : void in class com.google.javascript.jscomp.TypeMismatch | From | To | |
Move Method | 2 | ||
Move Method private simpleInferDeclaration(decl Declaration) : JSType from class com.google.javascript.jscomp.GlobalTypeInfo.ProcessScope to private simpleInferDeclaration(decl Declaration) : JSType from class com.google.javascript.jscomp.GlobalTypeInfo | From | To | |
Move Method private recordImplicitInterfaceUses(src Node, sourceType JSType, targetType JSType) : void from class com.google.javascript.jscomp.TypeValidator to package recordImplicitInterfaceUses(implicitInterfaceUses List<TypeMismatch>, src Node, sourceType TypeI, targetType TypeI) : void from class com.google.javascript.jscomp.TypeMismatch | From | To | |
Rename Variable | 1 | ||
Rename Variable type : TypeI to objlitType : TypeI in method private handleObjectLit(t NodeTraversal, n Node) : void in class com.google.javascript.jscomp.DisambiguateProperties.FindRenameableProperties | From | To | |
Change Return Type | 1 | ||
Change Return Type ObjectTypeI to JSType in method public getTopDefiningInterface(pname String) : JSType in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Extract Variable | 2 | ||
Extract Variable insideCast : Node in method private analyzeCastFwd(expr Node, inEnv TypeEnv, specializedType JSType) : EnvTypePair from class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Variable output : String in method public testDontInvalidateForGenericsMismatch() : void from class com.google.javascript.jscomp.DisambiguatePropertiesTest | From | To | |
Extract Method | 3 | ||
Extract Method private registerMismatchAndWarn(error JSError, found JSType, required JSType) : void extracted from private analyzeFunctionFwd(workset List<DiGraphNode<Node,ControlFlowGraph.Branch>>) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method private registerMismatchAndWarn(error JSError, found JSType, required JSType) : void extracted from private analyzeAssignFwd(expr Node, inEnv TypeEnv, requiredType JSType, specializedType JSType) : EnvTypePair in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method private registerMismatchAndWarn(error JSError, found JSType, required JSType) : void extracted from private processVarDeclaration(nameNode Node, inEnv TypeEnv) : TypeEnv in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Rename Parameter | 1 | ||
Rename Parameter propName : String to pname : String in method public getTopDefiningInterface(pname String) : JSType in class com.google.javascript.jscomp.newtypes.JSType | From | To |