Skip to content

simiyutin/java_functional_clones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java_functional_clones

Goal of this project is to learn how to find chunks of java source code which can be functionally refactored and become clones after this refactoring. Then we're going to use existing clones find'n'replace algorithms to refactor obtained clones automatically.

IntelliJ IDEA has been chosen as development environment and provider of base refactoring mechanisms.

STEPS:

  1. For each file:
  2. We find places where builtin functional refactorings can be applied, and apply them.
  3. In obtained refactored methods we choose expressions to extract as first-class functions paramaters, and extract them.
  4. We launch builtin mechanism for finding and removing clones, and remove them.

Example of obtained result can be seen here: https://github.com/simiyutin/java_functional_clones/wiki/Example-of-refactoring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published