48dc5b6cac3001de812f9b182202c72b015b1e99
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 3 | ||
Move And Rename Method public createFunction(decl BodyDeclaration) : String from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to private createAnnotationsFunction(decl BodyDeclaration) : String from class com.google.devtools.j2objc.translate.MetadataWriter.MetadataGenerator | From | To | |
Move And Rename Method public createParamsFunction(method MethodDeclaration) : String from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to private createParamAnnotationsFunction(method MethodDeclaration) : String from class com.google.devtools.j2objc.translate.MetadataWriter.MetadataGenerator | From | To | |
Move And Rename Method private addFunction(result Expression) : String from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to private addAnnotationsFunction(result Expression) : String from class com.google.devtools.j2objc.translate.MetadataWriter.MetadataGenerator | From | To | |
Move Method | 4 | ||
Move Method private createAnnotations(annotations List<Annotation>) : Expression from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to private createAnnotations(annotations List<Annotation>) : Expression from class com.google.devtools.j2objc.translate.MetadataWriter | From | To | |
Move Method private createAnnotation(annotationBinding IAnnotationBinding) : Expression from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to public createAnnotation(annotationBinding IAnnotationBinding) : Expression from class com.google.devtools.j2objc.util.TranslationUtil | From | To | |
Move Method private createObjectArray(expressions List<Expression>, componentType ITypeBinding) : Expression from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to public createObjectArray(expressions List<Expression>, arrayType ITypeBinding) : Expression from class com.google.devtools.j2objc.util.TranslationUtil | From | To | |
Move Method private createAnnotationValue(value Object) : Expression from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to public createAnnotationValue(type ITypeBinding, value Object) : Expression from class com.google.devtools.j2objc.util.TranslationUtil | From | To | |
Rename Variable | 1 | ||
Rename Variable defaultExpr : Expression to defaultValue : Object in method private addDefaultAccessors(node AnnotationTypeDeclaration, members List<AnnotationTypeMemberDeclaration>) : void in class com.google.devtools.j2objc.translate.AnnotationRewriter | From | To | |
Move Attribute | 2 | ||
Move Attribute private ANNOTATION_TYPE : GeneratedTypeBinding from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to private ANNOTATION_TYPE : GeneratedTypeBinding from class com.google.devtools.j2objc.translate.MetadataWriter | From | To | |
Move Attribute private className : String from class com.google.devtools.j2objc.translate.RuntimeAnnotationGenerator to private className : String from class com.google.devtools.j2objc.translate.MetadataWriter.MetadataGenerator | From | To | |
Change Variable Type | 1 | ||
Change Variable Type defaultExpr : Expression to defaultValue : Object in method private addDefaultAccessors(node AnnotationTypeDeclaration, members List<AnnotationTypeMemberDeclaration>) : void in class com.google.devtools.j2objc.translate.AnnotationRewriter | From | To | |
Rename Parameter | 1 | ||
Rename Parameter componentType : ITypeBinding to arrayType : ITypeBinding in method public createObjectArray(expressions List<Expression>, arrayType ITypeBinding) : Expression in class com.google.devtools.j2objc.util.TranslationUtil | From | To |