7903b36fd5dfe6ae99da97b93a587392aa546b52
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private processUnit(input InputFile, unit CompilationUnit, ticker TimeTracker) : void renamed to public handleParsedUnit(inputFile InputFile, unit CompilationUnit) : void in class com.google.devtools.j2objc.FileProcessor.processBatch.handler | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method package getOutputFileName(file InputFile, node CompilationUnit) : String from class com.google.devtools.j2objc.TranslationProcessor to package ensureOutputPath(unit GenerationUnit) : void from class com.google.devtools.j2objc.FileProcessor | From | To | |
Move And Rename Method public processFile(filename String) : void from class com.google.devtools.j2objc.FileProcessor to public processFileArg(arg String) : void from class com.google.devtools.j2objc.GenerationBatch | From | To | |
Move Method | 4 | ||
Move Method private processManifestFile(filename String) : void from class com.google.devtools.j2objc.FileProcessor to private processManifestFile(filename String) : void from class com.google.devtools.j2objc.GenerationBatch | From | To | |
Move Method protected processJarFile(filename String) : void from class com.google.devtools.j2objc.FileProcessor to private processJarFile(filename String) : void from class com.google.devtools.j2objc.GenerationBatch | From | To | |
Move Method private processSourceFile(filename String) : void from class com.google.devtools.j2objc.FileProcessor to private processSourceFile(filename String) : void from class com.google.devtools.j2objc.GenerationBatch | From | To | |
Move Method protected processJavaFile(filename String) : void from class com.google.devtools.j2objc.FileProcessor to private processJavaFile(filename String) : void from class com.google.devtools.j2objc.GenerationBatch | From | To | |
Change Return Type | 1 | ||
Change Return Type String to void in method package ensureOutputPath(unit GenerationUnit) : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Extract Class | 1 | ||
Extract Class com.google.devtools.j2objc.GenerationBatch from class com.google.devtools.j2objc.FileProcessor | From | To | |
Change Variable Type | 1 | ||
Change Variable Type pkg : PackageDeclaration to pkg : org.eclipse.jdt.core.dom.PackageDeclaration in method protected getRelativePath(path String, unit CompilationUnit) : String in class com.google.devtools.j2objc.FileProcessor | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method package generateObjectiveCSource(batch GenerationBatch, ticker TimeTracker) : void extracted from protected translateSourceFile(source String, typeName String, fileName String) : String in class com.google.devtools.j2objc.GenerationTest & moved to class com.google.devtools.j2objc.TranslationProcessor | From | To | |
Extract And Move Method protected processCompilationUnit(genUnit GenerationUnit, unit CompilationUnit, file InputFile) : void extracted from private processUnit(input InputFile, unit CompilationUnit, ticker TimeTracker) : void in class com.google.devtools.j2objc.FileProcessor & moved to class com.google.devtools.j2objc.FileProcessor | From | To | |
Rename Parameter | 2 | ||
Rename Parameter input : InputFile to inputFile : InputFile in method public handleParsedUnit(inputFile InputFile, unit CompilationUnit) : void in class com.google.devtools.j2objc.FileProcessor.processBatch.handler | From | To | |
Rename Parameter filename : String to arg : String in method public processFileArg(arg String) : void in class com.google.devtools.j2objc.GenerationBatch | From | To |