*
* @return a list of all annotators for the language.
*/
@NotNull
public final synchronized List<ExternalAnnotator> getExternalAnnotators() {
ExternalAnnotator annotator = getExternalAnnotator();
if (annotator == myLastExternalAnnotator && myCachedExternalAnnotators != null) {
return myCachedExternalAnnotators;
}
myLastExternalAnnotator = annotator;
int injectCount = myInjectedExternalAnnotators == null ? 0 : myInjectedExternalAnnotators.size();