} else if (subjectbase instanceof COSString) {
COSString subject = (COSString) subjectbase;
result.add(new Annotation(subject.getString()));
}
} else if (annotation instanceof PDAnnotationUnknown) {
PDAnnotationUnknown annotation2 = (PDAnnotationUnknown) annotation;
COSObject subject = (COSObject) annotation2.getDictionary().getItem(COSName.SUBJ);
if (subject != null) {
COSBase ref_subject = ((COSObject) subject).getObject();
if (ref_subject instanceof COSStream) {
result.add(new Annotation(decodeStream((COSStream) ref_subject)));
continue;
}
}
subject = (COSObject) annotation2.getDictionary().getItem(COSName._3DD); // 3D-Annots
if (subject != null) {
COSBase ref_subject = ((COSObject) subject).getObject();
if (ref_subject instanceof COSStream) {
result.add(new Annotation(decodeStream((COSStream) ref_subject)));