The linter's logic and check location are correct, but the output message is suboptimal. It should be like: ```java BPMN_END_EVENT_NOT_PART_OF_SUB_PROCESS_AND_NAME_IS_EMPTY ```
Activity