if (rteAnnotation.subsuperscript().length > 0) {
SubSuperscript subSuperscriptAnnotation = rteAnnotation.subsuperscript()[0];
List<String> features = new ArrayList<String>();
if (subSuperscriptAnnotation.subscript()) {
features.add("subscript");
}
if (subSuperscriptAnnotation.superscript()) {
features.add("superscript");
}