java 8 and refactor package