81733b4e355d145b247c165739097a05346fab6a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method protected processSource(file InputFile, generationUnit GenerationUnit) : void renamed to private processInputFile(file InputFile) : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Rename Method public processBatch(batch GenerationBatch) : void renamed to public processFiles(files Iterable<? extends InputFile>) : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Rename Method public processBatch(batch GenerationBatch) : void renamed to public process() : void in class com.google.devtools.j2objc.InputFilePreprocessor | From | To | |
Rename Method public clear() : void renamed to public failed() : void in class com.google.devtools.j2objc.gen.GenerationUnit | From | To | |
Push Down Method | 1 | ||
Push Down Method protected getTicker(name String) : TimeTracker from class com.google.devtools.j2objc.FileProcessor to private getTicker(name String) : TimeTracker from class com.google.devtools.j2objc.TranslationProcessor | From | To | |
Pull Up Method | 1 | ||
Pull Up Method public processBatch(units GenerationBatch) : void from class com.google.devtools.j2objc.TranslationProcessor to public processBuildClosureDependencies() : void from class com.google.devtools.j2objc.FileProcessor | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public error(message String) : void moved from class com.google.devtools.j2objc.gen.GenerationUnit to class com.google.devtools.j2objc.FileProcessor & inlined to private processInputFile(file InputFile) : void | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type batch : GenerationBatch to files : Iterable<? extends InputFile> in method public processFiles(files Iterable<? extends InputFile>) : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Change Parameter Type files : List<InputFile> to files : Collection<InputFile> in method public parseFiles(files Collection<InputFile>, handler Handler) : void in class com.google.devtools.j2objc.util.JdtParser | From | To | |
Rename Variable | 4 | ||
Rename Variable impl1 : String to impl : String in method public testBatchReuse() : void in class com.google.devtools.j2objc.TranslationProcessorTest | From | To | |
Rename Variable unit : GenerationUnit to file : InputFile in method private processBatch() : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Rename Variable unit : GenerationUnit to inputFile : InputFile in method public processFiles(files Iterable<? extends InputFile>) : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Rename Variable header1 : String to header : String in method public testBatchReuse() : void in class com.google.devtools.j2objc.TranslationProcessorTest | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private closureQueue : BuildClosureQueue from class com.google.devtools.j2objc.TranslationProcessor to protected closureQueue : BuildClosureQueue from class com.google.devtools.j2objc.FileProcessor | From | To | |
Extract Variable | 1 | ||
Extract Variable inputFile : RegularInputFile in method public testBatchReuse() : void from class com.google.devtools.j2objc.TranslationProcessorTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type unit : GenerationUnit to file : InputFile in method private processBatch() : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Change Variable Type unit : GenerationUnit to inputFile : InputFile in method public processFiles(files Iterable<? extends InputFile>) : void in class com.google.devtools.j2objc.FileProcessor | From | To | |
Extract Method | 1 | ||
Extract Method protected generateFromUnit(unit CompilationUnit, filename String) : String extracted from protected translateSourceFile(source String, typeName String, fileName String) : String in class com.google.devtools.j2objc.GenerationTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter batch : GenerationBatch to files : Iterable<? extends InputFile> in method public processFiles(files Iterable<? extends InputFile>) : void in class com.google.devtools.j2objc.FileProcessor | From | To |