7056e8e9e4147898591ef079932267faf9cb42b9
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method private getJSType(n Node) : JSType renamed to private getTypeI(n Node) : TypeI in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Rename Method private maybeCandidateDefinition(t NodeTraversal, n Node, parent Node) : boolean renamed to private isValidCandidateDefinition(t NodeTraversal, n Node, parent Node) : boolean in class com.google.javascript.jscomp.InlineProperties.GatherCandidates | From | To | |
| Change Parameter Type | 4 | ||
| Change Parameter Type type : JSType to type : TypeI in method private isInvalidatingType(type TypeI) : boolean in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Change Parameter Type src : JSType to src : TypeI in method private isMatchingType(n Node, src TypeI) : boolean in class com.google.javascript.jscomp.InlineProperties.ReplaceCandidates | From | To | |
| Change Parameter Type type : JSType to type : TypeI in method private maybeStoreCandidateValue(type TypeI, propName String, value Node) : boolean in class com.google.javascript.jscomp.InlineProperties.GatherCandidates | From | To | |
| Change Parameter Type type : JSType to type : TypeI in method package PropertyInfo(type TypeI, value Node) in class com.google.javascript.jscomp.InlineProperties.PropertyInfo | From | To | |
| Rename Variable | 1 | ||
| Rename Variable jsType : JSType to type : TypeI in method private getTypeI(n Node) : TypeI in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Change Return Type | 2 | ||
| Change Return Type JSType to TypeI in method private getTypeI(n Node) : TypeI in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Change Return Type JSType to TypeI in method private maybeGetInstanceTypeFromPrototypeRef(src Node) : TypeI in class com.google.javascript.jscomp.InlineProperties.GatherCandidates | From | To | |
| Change Variable Type | 7 | ||
| Change Variable Type instanceType : JSType to instanceType : TypeI in method private isValidCandidateDefinition(t NodeTraversal, n Node, parent Node) : boolean in class com.google.javascript.jscomp.InlineProperties.GatherCandidates | From | To | |
| Change Variable Type alt : JSType to alt : TypeI in method private isInvalidatingType(type TypeI) : boolean in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Change Variable Type ownerType : JSType to ownerType : TypeI in method private maybeGetInstanceTypeFromPrototypeRef(src Node) : TypeI in class com.google.javascript.jscomp.InlineProperties.GatherCandidates | From | To | |
| Change Variable Type dest : JSType to dest : TypeI in method private isMatchingType(n Node, src TypeI) : boolean in class com.google.javascript.jscomp.InlineProperties.ReplaceCandidates | From | To | |
| Change Variable Type objType : ObjectType to objType : ObjectTypeI in method private addInvalidatingType(type TypeI) : void in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Change Variable Type targetType : JSType to targetType : TypeI in method private isValidCandidateDefinition(t NodeTraversal, n Node, parent Node) : boolean in class com.google.javascript.jscomp.InlineProperties.GatherCandidates | From | To | |
| Change Variable Type jsType : JSType to type : TypeI in method private getTypeI(n Node) : TypeI in class com.google.javascript.jscomp.InlineProperties | From | To | |
| Inline Variable | 1 | ||
| Inline Variable js : String in method public testStructuralInterfacesNoPropInlining() : void from class com.google.javascript.jscomp.InlinePropertiesTest | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type type : JSType to type : TypeI in class com.google.javascript.jscomp.InlineProperties.PropertyInfo | From | To |