Refactor Eclipse plugin