}
public static List<TypeAnnotation> parseAnnotations(List<ByteList> commentList, int lineno) {
List<TypeAnnotation> annots = new ArrayList<TypeAnnotation>();
for (ByteList comment : commentList) {
TypeAnnotation annot = parseAnnotation(comment.toString(), lineno);
if (annot != null) {
annots.add(annot);
}
}
return annots;