The code is a manual implementation, and JCasC obviously does not support it.
In order to support the logic, labels need to be refactored (e.g. to Global configuration category or so) OR there should be a JCasC plugin patch for supporting label management there