377d9016a6316d174f9bd9bc1db0d33ee6ede187
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public createConstructorObject(fnNominal NominalType) : JSType renamed to public getConstructorObject() : JSType in class com.google.javascript.jscomp.newtypes.FunctionType | From | To | |
Rename Method package createConstructorObject(ctorFn FunctionType, builtinFunction NominalType) : JSType renamed to package getConstructorObject(ctorFn FunctionType) : JSType in class com.google.javascript.jscomp.newtypes.NominalType | From | To | |
Inline Method | 1 | ||
Inline Method public createParameters(parameterTypes List<JSType>) : Node inlined to public createFunctionTypeWithInstanceType(instanceType ObjectType, returnType JSType, parameterTypes List<JSType>) : JSType in class com.google.javascript.rhino.jstype.JSTypeRegistry | From | To | |
Parameterize Variable | 5 | ||
Parameterize Variable fnNameNode : Node to n : Node in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Parameterize Variable rhsType : JSType to t : JSType in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Parameterize Variable fnRoot : Node to n : Node in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Parameterize Variable declType : JSType to t : JSType in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Parameterize Variable summary : JSType to t : JSType in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method | 6 | ||
Extract Method private maybeSetTypeI(n Node, t JSType) : void extracted from private analyzeExprFwd(expr Node, inEnv TypeEnv, requiredType JSType, specializedType JSType) : EnvTypePair in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method private maybeSetTypeI(n Node, t JSType) : void extracted from private processVarDeclaration(nameNode Node, inEnv TypeEnv) : TypeEnv in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method private maybeSetTypeI(n Node, t JSType) : void extracted from private analyzeLValueFwd(expr Node, inEnv TypeEnv, type JSType, insideQualifiedName boolean) : LValueResultFwd in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method private maybeSetTypeI(n Node, t JSType) : void extracted from private createSummary(fn Scope) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Rename Parameter | 4 | ||
Rename Parameter template : String to typevarName : String in method public fromTypeVar(typevarName String) : JSType in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Rename Parameter nameNode : Node to n : Node in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Rename Parameter expr : Node to n : Node in method private maybeSetTypeI(n Node, t JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To |