For Java code