Added Java code formatting which should be enabled using options