4108b814b6fb570e89128ab09ae8e67baaa7f937
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type propertyType : ITypeBinding to propertyType : TypeMirror in method public findGetterMethod(propertyName String, propertyType TypeMirror, declaringClass TypeElement) : ExecutableElement in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Parameter Type declaringClass : ITypeBinding to declaringClass : TypeElement in method public findGetterMethod(propertyName String, propertyType TypeMirror, declaringClass TypeElement) : ExecutableElement in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Parameter Type binding : IBinding to element : Element in method private nullability(element Element, isParameter boolean) : String in class com.google.devtools.j2objc.gen.TypeGenerator | From | To | |
Move Method | 1 | ||
Move Method public findGetterMethod(propertyName String, propertyType ITypeBinding, declaringClass ITypeBinding) : IMethodBinding from class com.google.devtools.j2objc.util.BindingUtil to public findGetterMethod(propertyName String, propertyType TypeMirror, declaringClass TypeElement) : ExecutableElement from class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Rename Variable | 4 | ||
Rename Variable methodBinding : IMethodBinding to methodElement : ExecutableElement in method private printMethodDeclaration(m MethodDeclaration, isCompanionClass boolean) : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Rename Variable varBinding : IVariableBinding to varElement : VariableElement in method protected printInstanceVariables() : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Rename Variable varBinding : IVariableBinding to varElement : VariableElement in method protected printProperties() : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Rename Variable binding : IMethodBinding to element : ExecutableElement in method protected getMethodSignature(m MethodDeclaration) : String in class com.google.devtools.j2objc.gen.TypeGenerator | From | To | |
Change Return Type | 1 | ||
Change Return Type IMethodBinding to ExecutableElement in method public findGetterMethod(propertyName String, propertyType TypeMirror, declaringClass TypeElement) : ExecutableElement in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Variable Type | 9 | ||
Change Variable Type var : IVariableBinding to var : VariableElement in method private printStaticFieldFullDeclaration(fragment VariableDeclarationFragment) : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Variable Type methodBinding : IMethodBinding to methodElement : ExecutableElement in method private printMethodDeclaration(m MethodDeclaration, isCompanionClass boolean) : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Variable Type varBinding : IVariableBinding to varElement : VariableElement in method protected printInstanceVariables() : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Variable Type var : IVariableBinding to var : VariableElement in method protected getFunctionSignature(function FunctionDeclaration) : String in class com.google.devtools.j2objc.gen.TypeGenerator | From | To | |
Change Variable Type var : IVariableBinding to var : VariableElement in method protected getMethodSignature(m MethodDeclaration) : String in class com.google.devtools.j2objc.gen.TypeGenerator | From | To | |
Change Variable Type var : IVariableBinding to var : VariableElement in method protected printStaticAccessors() : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Variable Type varBinding : IVariableBinding to varElement : VariableElement in method protected printProperties() : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Change Variable Type binding : IMethodBinding to element : ExecutableElement in method protected getMethodSignature(m MethodDeclaration) : String in class com.google.devtools.j2objc.gen.TypeGenerator | From | To | |
Change Variable Type var : IVariableBinding to var : VariableElement in method protected printFieldSetters() : void in class com.google.devtools.j2objc.gen.TypeDeclarationGenerator | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public isBoolean(t TypeMirror) : boolean extracted from public endVisit(node Assignment) : void in class com.google.devtools.j2objc.translate.ComplexExpressionExtractor & moved to class com.google.devtools.j2objc.util.TypeUtil | From | To | |
Rename Parameter | 1 | ||
Rename Parameter binding : IBinding to element : Element in method private nullability(element Element, isParameter boolean) : String in class com.google.devtools.j2objc.gen.TypeGenerator | From | To |