62f5679b13c88c1c46b825637784ff2ad8f4610c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method private collectSubtypes(originalType TypeNode, type TypeNode, subtypes Multimap<TypeNode,TypeNode>) : void renamed to private followType(type ITypeBinding, node TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Method private addNode(node TypeNode) : void renamed to private createNode(type ITypeBinding, name String) : TypeNode in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Method private addFieldEdges() : void renamed to private followFields(type ITypeBinding, node TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Method private addOuterClassEdges() : void renamed to private followDeclaringClass(typeBinding ITypeBinding, typeNode TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Method private addAnonymousClassCaptureEdges() : void renamed to private followCaptureFields(typeBinding ITypeBinding, typeNode TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private typeName(type ITypeBinding) : String from class com.google.devtools.cyclefinder.NameList to private getQualifiedNameForType(type ITypeBinding) : String from class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Change Parameter Type | 6 | ||
Change Parameter Type node : TypeNode to name : String in method private createNode(type ITypeBinding, name String) : TypeNode in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Change Parameter Type type : TypeNode to type : ITypeBinding in method private followType(type ITypeBinding, node TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Change Parameter Type type : ITypeBinding to type : TypeNode in method public isWhitelistedTypeForField(fieldName String, type TypeNode) : boolean in class com.google.devtools.cyclefinder.NameList | From | To | |
Change Parameter Type type : ITypeBinding to type : TypeNode in method public containsType(type TypeNode) : boolean in class com.google.devtools.cyclefinder.NameList | From | To | |
Change Parameter Type type : ITypeBinding to type : TypeNode in method public hasOuterForType(type TypeNode) : boolean in class com.google.devtools.cyclefinder.NameList | From | To | |
Change Parameter Type capturedVar : IVariableBinding to varName : String in method public newCaptureEdge(origin TypeNode, target TypeNode, varName String) : Edge in class com.google.devtools.cyclefinder.Edge | From | To | |
Rename Variable | 3 | ||
Rename Variable targetNode : TypeNode to target : TypeNode in method private followFields(type ITypeBinding, node TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Variable declaringType : ITypeBinding to declaringClass : ITypeBinding in method private followDeclaringClass(typeBinding ITypeBinding, typeNode TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Variable field : IVariableBinding to fieldName : String in method private addSubtypeEdges() : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Change Return Type | 1 | ||
Change Return Type void to TypeNode in method private createNode(type ITypeBinding, name String) : TypeNode in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable fieldType : ITypeBinding to type : ITypeBinding in method private getOrCreateNode(type ITypeBinding) : TypeNode in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Attribute | 2 | ||
Rename Attribute field : IVariableBinding to fieldQualifiedName : String in class com.google.devtools.cyclefinder.Edge | From | To | |
Rename Attribute typeBinding : ITypeBinding to qualifiedName : String in class com.google.devtools.cyclefinder.TypeNode | From | To | |
Change Variable Type | 1 | ||
Change Variable Type field : IVariableBinding to fieldName : String in method private addSubtypeEdges() : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Extract Method | 1 | ||
Extract Method private getOrCreateNode(type ITypeBinding) : TypeNode extracted from private addFieldEdges() : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type typeBinding : ITypeBinding to qualifiedName : String in class com.google.devtools.cyclefinder.TypeNode | From | To | |
Change Attribute Type field : IVariableBinding to fieldQualifiedName : String in class com.google.devtools.cyclefinder.Edge | From | To | |
Rename Parameter | 3 | ||
Rename Parameter capturedVar : IVariableBinding to varName : String in method public newCaptureEdge(origin TypeNode, target TypeNode, varName String) : Edge in class com.google.devtools.cyclefinder.Edge | From | To | |
Rename Parameter originalType : TypeNode to node : TypeNode in method private followType(type ITypeBinding, node TypeNode) : void in class com.google.devtools.cyclefinder.GraphBuilder | From | To | |
Rename Parameter node : TypeNode to name : String in method private createNode(type ITypeBinding, name String) : TypeNode in class com.google.devtools.cyclefinder.GraphBuilder | From | To |