question: private void parseStatus ( String status , boolean shouldBe ) { for ( Status s : Status . values ( ) ) { if ( status . contains ( s . id ) ) { if ( shouldBe ) { statusReq . add ( s ) ; } else { statusReqNot . add ( s ) ; } } } }
target:  Find status ids in the status: or !status: prefix and save the ones that were found as requirement. Characters that do not represent a status id are ignored.