format code of this class