boolean isSubGroup ( DiagnosticGroup group ) { for ( DiagnosticType type : group . types ) { if ( ! matches ( type ) ) { return false ; } } return true ; }
Returns whether all of the types in the given group are in this group .