Source
Set<String> get features {
Set<String> all_features = new Set<String>();
all_features.addAll(annotations);
// override as an annotation should be replaced with direct information
// from the analyzer if we decide to display it at this level.
all_features.remove('@override');
// Drop the plain "deprecated" annotation, that's indicated via
// strikethroughs. Custom @Deprecated() will still appear.
all_features.remove('@deprecated');
// const and static are not needed here because const/static elements get
// their own sections in the doc.
if (isFinal) all_features.add('final');
return all_features;
}