Java project public module extraction