boolean isCaseSensitive= true; String tasks= null; if (getPreferenceStore().contains(COMPILER_TASK_TAGS)) { tasks= getPreferenceStore().getString(COMPILER_TASK_TAGS); isCaseSensitive= ENABLED.equals(getPreferenceStore().getString(COMPILER_TASK_CASE_SENSITIVE)); } else if (fCorePreferenceStore != null) { tasks= fCorePreferenceStore.getString(COMPILER_TASK_TAGS); isCaseSensitive= ENABLED.equals(fCorePreferenceStore.getString(COMPILER_TASK_CASE_SENSITIVE));
List matchers= createMatchers(); if (matchers.size() > 0) { CombinedWordRule combinedWordRule= new CombinedWordRule(new AtJavaIdentifierDetector(), defaultToken); for (int i= 0, n= matchers.size(); i < n; i++) combinedWordRule.addWordMatcher((WordMatcher) matchers.get(i)); list.add(combinedWordRule);
	protected List createRules() {		List list= new ArrayList();				// Add rule for Task Tags.		boolean isCaseSensitive= true;		String tasks= null;		if (getPreferenceStore().contains(COMPILER_TASK_TAGS)) {			tasks= getPreferenceStore().getString(COMPILER_TASK_TAGS);			isCaseSensitive= ENABLED.equals(getPreferenceStore().getString(COMPILER_TASK_CASE_SENSITIVE));		} else if (fCorePreferenceStore != null) {			tasks= fCorePreferenceStore.getString(COMPILER_TASK_TAGS);			isCaseSensitive= ENABLED.equals(fCorePreferenceStore.getString(COMPILER_TASK_CASE_SENSITIVE));		}		if (tasks != null) {			fTaskTagRule= new TaskTagRule(getToken(TASK_TAG), Token.UNDEFINED);			fTaskTagRule.addTaskTags(tasks);			fTaskTagRule.setCaseSensitive(isCaseSensitive);			list.add(fTaskTagRule);		}		setDefaultReturnToken(getToken(fDefaultTokenProperty));		return list;	}