Add imports in Java files