b0302fae6efa0d216dbd24d473c847a600308df6
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public testTtlFunctionTypesDontPropagate() : void renamed to public testTtlFunctionTypesPropagate() : void in class com.google.javascript.jscomp.NewTypeInferenceTTLTest | From | To | |
| Change Parameter Type | 6 | ||
| Change Parameter Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in method private DeclaredFunctionType(commonTypes JSTypes, requiredFormals List<JSType>, optionalFormals List<JSType>, restFormals JSType, retType JSType, nominalType JSType, receiverType JSType, typeParameters TypeParameters, isAbstract boolean) in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType | From | To | |
| Change Parameter Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in method public appendTypeParameters(typeParameters TypeParameters) : FunctionTypeBuilder in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder | From | To | |
| Change Parameter Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in method public addTypeParameters(typeParameters TypeParameters) : FunctionTypeBuilder in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder | From | To | |
| Change Parameter Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in method package make(commonTypes JSTypes, requiredFormals List<JSType>, optionalFormals List<JSType>, restFormals JSType, retType JSType, nominalType JSType, receiverType JSType, typeParameters TypeParameters, isAbstract boolean) : DeclaredFunctionType in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType | From | To | |
| Change Parameter Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in method private FunctionType(commonTypes JSTypes, requiredFormals ImmutableList<JSType>, optionalFormals ImmutableList<JSType>, restFormals JSType, retType JSType, nominalType JSType, receiverType JSType, outerVars ImmutableMap<String,JSType>, typeParameters TypeParameters, isLoose boolean, isAbstract boolean) in class com.google.javascript.jscomp.newtypes.FunctionType | From | To | |
| Change Parameter Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in method package normalized(commonTypes JSTypes, requiredFormals List<JSType>, optionalFormals List<JSType>, restFormals JSType, retType JSType, nominalType JSType, receiverType JSType, outerVars Map<String,JSType>, typeParameters TypeParameters, isLoose boolean, isAbstract boolean) : FunctionType in class com.google.javascript.jscomp.newtypes.FunctionType | From | To | |
| Rename Variable | 1 | ||
| Rename Variable typeParameters : ImmutableList<String> to typeParamsInScope : ImmutableList<String> in method private getFunTypeFromTypicalFunctionJsdoc(jsdoc JSDocInfo, functionName String, funNode Node, constructorType RawNominalType, ownerType RawNominalType, registry DeclaredTypeRegistry, builder FunctionTypeBuilder) : DeclaredFunctionType in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc | From | To | |
| Change Return Type | 1 | ||
| Change Return Type ImmutableList<String> to TypeParameters in method public getTypeParameters() : TypeParameters in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType | From | To | |
| Extract Variable | 2 | ||
| Extract Variable generatedName : String in method private collectTypeParamsInScope(jsdoc JSDocInfo, funNode Node, constructorType RawNominalType, ownerType RawNominalType, builder FunctionTypeBuilder) : ImmutableList<String> from class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc | From | To | |
| Extract Method | 1 | ||
| Extract Method private collectTypeParamsInScope(jsdoc JSDocInfo, funNode Node, constructorType RawNominalType, ownerType RawNominalType, builder FunctionTypeBuilder) : ImmutableList<String> extracted from private getFunTypeFromTypicalFunctionJsdoc(jsdoc JSDocInfo, functionName String, funNode Node, constructorType RawNominalType, ownerType RawNominalType, registry DeclaredTypeRegistry, builder FunctionTypeBuilder) : DeclaredFunctionType in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder | From | To | |
| Change Attribute Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType | From | To | |
| Change Attribute Type typeParameters : ImmutableList<String> to typeParameters : TypeParameters in class com.google.javascript.jscomp.newtypes.FunctionType | From | To |