1835f9e7aee159b9ccadc5787fca0a8a68279ec5
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public testPredefinedAnnotations() : void renamed to public testInterfaceMethod() : void in class com.google.devtools.j2objc.javac.ClassFileConverterTest | From | To | |
Rename Method public testMethodClass() : void renamed to public testMethodReturn() : void in class com.google.devtools.j2objc.javac.ClassFileConverterTest | From | To | |
Pull Up Method | 3 | ||
Pull Up Method private nameToPath(name String) : String from class com.google.devtools.j2objc.javac.ClassFileConverterTest to protected typeNameToSource(name String) : String from class com.google.devtools.j2objc.GenerationTest | From | To | |
Inline Variable | 2 | ||
Inline Variable typeUtil : TypeUtil in method private isEnumSynthetic(e Element, enumType TypeMirror) : boolean from class com.google.devtools.j2objc.javac.ClassFileConverter | From | To | |
Inline Variable nParams : int in method private convertMethodDeclaration(element ExecutableElement) : TreeNode from class com.google.devtools.j2objc.javac.ClassFileConverter | From | To | |
Extract Method | 5 | ||
Extract Method protected typeNameToSource(name String) : String extracted from protected compileType(name String, source String) : CompilationUnit in class com.google.devtools.j2objc.GenerationTest | From | To | |
Extract Method protected typeNameToSource(name String) : String extracted from protected translateSourceFile(typeName String, fileName String) : String in class com.google.devtools.j2objc.GenerationTest | From | To | |
Extract Method private getMethodDescriptor(exec ExecutableElement) : String extracted from private isEnumSynthetic(e Element, enumType TypeMirror) : boolean in class com.google.devtools.j2objc.javac.ClassFileConverter | From | To | |
Extract Method protected typeNameToSource(name String) : String extracted from protected createClassFile(typeName String, source String, flags String...) : InputFile in class com.google.devtools.j2objc.GenerationTest | From | To | |
Extract Method private getMethodDescriptor(exec ExecutableElement) : String extracted from private convertMethodDeclaration(element ExecutableElement) : TreeNode in class com.google.devtools.j2objc.javac.ClassFileConverter | From | To | |
Rename Parameter | 3 | ||
Rename Parameter element : ExecutableElement to exec : ExecutableElement in method private getMethodDescriptor(exec ExecutableElement) : String in class com.google.devtools.j2objc.javac.ClassFileConverter | From | To | |
Rename Parameter typeName : String to name : String in method protected typeNameToSource(name String) : String in class com.google.devtools.j2objc.GenerationTest | From | To |