76fc2f63074c0b5dacfe084c1af71c395aafd1d3
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testUseJsdocOfCalleeForUnannotatedFunctionsInArgumentPosition() : void renamed to public testInferUnannotatedCallbackFromCallee() : void in class com.google.javascript.jscomp.NewTypeInferenceTest | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable i : int to argIndex : int in method private warnAboutInvalidArgument(call Node, arg Node, argIndex int, formal JSType, actual JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Parameterize Variable formalType : JSType to formal : JSType in method private warnAboutInvalidArgument(call Node, arg Node, argIndex int, formal JSType, actual JSType) : void in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Variable | 1 | ||
Extract Variable scopeRoot : Node in method private analyzeFunction(scope NTIScope) : void from class com.google.javascript.jscomp.NewTypeInference | From | To | |
Extract Method | 1 | ||
Extract Method private warnAboutInvalidArgument(call Node, arg Node, argIndex int, formal JSType, actual JSType) : void extracted from private analyzeInvocationArgumentsFwd(node Node, args Iterable<Node>, funType FunctionType, argTypesForDeferredCheck List<JSType>, inEnv TypeEnv) : TypeEnv in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Rename Parameter | 2 | ||
Rename Parameter node : Node to n : Node in method private analyzeInvocationArgumentsFwd(n Node, args Iterable<Node>, funType FunctionType, argTypesForDeferredCheck List<JSType>, inEnv TypeEnv) : TypeEnv in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Rename Parameter declNode : Node to callback : Node in method private computeFnDeclaredTypeFromCallee(callback Node, declaredTypeAsJSType JSType) : DeclaredFunctionType in class com.google.javascript.jscomp.GlobalTypeInfoCollector.ProcessScope | From | To |