Tailor Source Code in Java