protected List<Map<String, ?>> generateSpecialKeywords(Set<String> keywords) {
		final List<Map<String, ?>> list = new ArrayList<>();
		if (!keywords.isEmpty()) {
			list.add(pattern(it -> {
				it.matches(keywordRegex(keywords));
				it.style(SPECIAL_KEYWORD_STYLE);
				it.comment("Special Keywords"); //$NON-NLS-1$
			}));
		}
		return list;
	}
protected List < Map < String , ? > > generateSpecialKeywords ( Set < String > keywords ) { final List < Map < String , ? > > list = new ArrayList < > ( ) ; if ( ! keywords . isEmpty ( ) ) { list . add ( pattern ( it -> { it . matches ( keywordRegex ( keywords ) ) ; it . style ( SPECIAL_KEYWORD_STYLE ) ; it . comment ( "Special Keywords" ) ; } ) ) ; } return list ; }
Generate the rules for the special keywords.

@param keywords the special keywords.
@return the rules.