86acbd5e3ec78f08a1804df5f1efbea129d29c0e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable foundInterfaceProperty : boolean to foundProperty : boolean in method private checkDeclaredPropertyAgainstNominalInheritance(n Node, ctorType FunctionType, propertyName String, info JSDocInfo, propertyType JSType) : void in class com.google.javascript.jscomp.TypeCheck | From | To | |
Move Attribute | 1 | ||
Move Attribute package HIDDEN_SUPERCLASS_PROPERTY_MISMATCH : DiagnosticType from class com.google.javascript.jscomp.TypeCheck to package HIDDEN_SUPERCLASS_PROPERTY_MISMATCH : DiagnosticType from class com.google.javascript.jscomp.TypeValidator | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable implemented : ObjectType to ancestorInterface : ObjectType in method private expectInterfaceProperties(n Node, instance ObjectType, ancestorInterface ObjectType) : void in class com.google.javascript.jscomp.TypeValidator | From | To | |
Inline Variable | 1 | ||
Inline Variable replacer : TemplateTypeReplacer in method private expectInterfaceProperty(n Node, instance ObjectType, implementedInterface ObjectType, propName String) : void from class com.google.javascript.jscomp.TypeValidator | From | To | |
Extract Method | 3 | ||
Extract Method package checkPropertyType(n Node, instance JSType, parent ObjectType, propertyName String, found JSType) : void extracted from private expectInterfaceProperty(n Node, instance ObjectType, implementedInterface ObjectType, propName String) : void in class com.google.javascript.jscomp.TypeValidator | From | To | |
Extract Method private expectInterfaceProperties(n Node, instance ObjectType, ancestorInterface ObjectType) : void extracted from package expectAllInterfaceProperties(n Node, type FunctionType) : void in class com.google.javascript.jscomp.TypeValidator | From | To | |
Extract Method private isDeclaredLocally(ctorType FunctionType, propertyName String) : boolean extracted from private checkDeclaredPropertyAgainstNominalInheritance(n Node, ctorType FunctionType, propertyName String, info JSDocInfo, propertyType JSType) : void in class com.google.javascript.jscomp.TypeCheck | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package checkPropertyType(n Node, instance JSType, parent ObjectType, propertyName String, found JSType) : void extracted from private checkDeclaredPropertyAgainstNominalInheritance(n Node, ctorType FunctionType, propertyName String, info JSDocInfo, propertyType JSType) : void in class com.google.javascript.jscomp.TypeCheck & moved to class com.google.javascript.jscomp.TypeValidator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter propName : String to propertyName : String in method package checkPropertyType(n Node, instance JSType, parent ObjectType, propertyName String, found JSType) : void in class com.google.javascript.jscomp.TypeValidator | From | To |