cfc0fab3dc2be49692a4fe9162b8095c934f6c41
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public testAllType() : void renamed to public testWildcardType_allType() : void in class com.google.javascript.rhino.jstype.UnionTypeBuilderTest | From | To | |
| Rename Method package getAlternates() : ImmutableList<JSType> renamed to private buildInternal() : ImmutableList<JSType> in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Change Parameter Type | 3 | ||
| Change Parameter Type list : ImmutableList<JSType> to list : List<? extends JSType> in method public addAlternates(list List<? extends JSType>) : Builder in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Change Parameter Type builder : UnionTypeBuilder to builder : UnionType.Builder in method private addRecordType(builder UnionType.Builder, inferred boolean) : void in class com.google.javascript.rhino.jstype.UnionTypeBuilderTest | From | To | |
| Change Parameter Type c : Collection<JSType> to c : Collection<? extends JSType> in method public addAlternates(c Collection<? extends JSType>) : Builder in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Inline Method | 1 | ||
| Inline Method private reduceAlternatesWithoutUnion() : JSType inlined to public build() : JSType in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Rename Variable | 5 | ||
| Rename Variable restricted : UnionTypeBuilder to builder : Builder in method private map(mapper Function<JSType,JSType>) : JSType in class com.google.javascript.rhino.jstype.UnionType | From | To | |
| Rename Variable typeId : JSTypeNative to type : JSTypeNative in method public createUnionType(variants JSTypeNative...) : JSType in class com.google.javascript.rhino.jstype.JSTypeRegistry | From | To | |
| Change Return Type | 3 | ||
| Change Return Type UnionTypeBuilder to Builder in method public addAlternates(list List<? extends JSType>) : Builder in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Change Return Type UnionTypeBuilder to Builder in method public addAlternate(alternate JSType) : Builder in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Change Return Type UnionTypeBuilder to Builder in method public addAlternates(c Collection<? extends JSType>) : Builder in class com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class com.google.javascript.rhino.jstype.UnionTypeBuilder moved and renamed to com.google.javascript.rhino.jstype.UnionType.Builder | From | To | |
| Change Variable Type | 5 | ||
| Change Variable Type restricted : UnionTypeBuilder to builder : Builder in method private map(mapper Function<JSType,JSType>) : JSType in class com.google.javascript.rhino.jstype.UnionType | From | To | |
| Change Variable Type builder : UnionTypeBuilder to builder : UnionType.Builder in method public testDifferentTemplateSpecializations_whenUnioned_doNotLeakRawType() : void in class com.google.javascript.rhino.jstype.UnionTypeBuilderTest | From | To | |
| Inline Variable | 1 | ||
| Inline Variable size : int in method private reduceAlternatesWithoutUnion() : JSType from class com.google.javascript.rhino.jstype.UnionTypeBuilder | From | To | |
| Extract Method | 4 | ||
| Extract Method private map(mapper Function<JSType,JSType>) : JSType extracted from public autobox() : JSType in class com.google.javascript.rhino.jstype.UnionType | From | To | |
| Extract Method private map(mapper Function<JSType,JSType>) : JSType extracted from public restrictByNotNullOrUndefined() : JSType in class com.google.javascript.rhino.jstype.UnionType | From | To | |
| Extract Method private map(mapper Function<JSType,JSType>) : JSType extracted from public restrictByNotUndefined() : JSType in class com.google.javascript.rhino.jstype.UnionType | From | To | |
| Extract Method private map(mapper Function<JSType,JSType>) : JSType extracted from public getRestrictedTypeGivenToBooleanOutcome(outcome boolean) : JSType in class com.google.javascript.rhino.jstype.UnionType | From | To |