private void addAttribute(Annotations<Location, ElementAnnotation, CommentListImpl> a, String ns, String localName, String prefix, String value, Token tok) { String key = ns + "#" + localName; if (attributeNames.contains(key)) error("duplicate_attribute", ns, localName, tok); else { attributeNames.add(key); a.addAttribute(ns, localName, prefix, value, makeLocation(tok)); } }
private AnnotationsImpl addCommentsToChildAnnotations(AnnotationsImpl a) { CommentListImpl comments = getComments(); if (comments == null) return a; if (a == null) a = sb.makeAnnotations(null, getContext()); a.addComment(comments); return a; }
private AnnotationsImpl addCommentsToLeadingAnnotations(AnnotationsImpl a) { CommentListImpl comments = getComments(); if (comments == null) return a; if (a == null) return sb.makeAnnotations(comments, getContext()); a.addLeadingComment(comments); return a; }
while (true) { e = Documentation(); a.addElement(e); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOCUMENTATION: a.addLeadingComment(comments); break; default: a.addElement(e); annotationsIncludeElements = true; a.addComment(getComments()); jj_consume_token(9); break;
if (a == null) a = sb.makeAnnotations(null, getContext()); a.addElement(e);
while (true) { e = Documentation(); a.addElement(e); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOCUMENTATION: a.addLeadingComment(comments); break; default: a.addElement(e); annotationsIncludeElements = true; a.addComment(getComments()); jj_consume_token(9); break;
if (a == null) a = sb.makeAnnotations(null, getContext()); a.addElement(e);
while (true) { e = Documentation(); a.addElement(e); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOCUMENTATION: a.addLeadingComment(comments); break; default: a.addElement(e); annotationsIncludeElements = true; a.addComment(getComments()); jj_consume_token(9); break;
if (a == null) a = sb.makeAnnotations(null, getContext()); a.addElement(e);
private AnnotationsImpl addCommentsToLeadingAnnotations(AnnotationsImpl a) { CommentListImpl comments = getComments(); if (comments == null) return a; if (a == null) return sb.makeAnnotations(comments, getContext()); a.addLeadingComment(comments); return a; }
private AnnotationsImpl addCommentsToChildAnnotations(AnnotationsImpl a) { CommentListImpl comments = getComments(); if (comments == null) return a; if (a == null) a = sb.makeAnnotations(null, getContext()); a.addComment(comments); return a; }
private void addAttribute(Annotations<Location, ElementAnnotation, CommentListImpl> a, String ns, String localName, String prefix, String value, Token tok) { String key = ns + "#" + localName; if (attributeNames.contains(key)) error("duplicate_attribute", ns, localName, tok); else { attributeNames.add(key); a.addAttribute(ns, localName, prefix, value, makeLocation(tok)); } }
if (a == null) a = sb.makeAnnotations(null, getContext()); a.addElement(e);
private AnnotationsImpl addCommentsToLeadingAnnotations(AnnotationsImpl a) { CommentListImpl comments = getComments(); if (comments == null) return a; if (a == null) return sb.makeAnnotations(comments, getContext()); a.addLeadingComment(comments); return a; }
private AnnotationsImpl addCommentsToChildAnnotations(AnnotationsImpl a) { CommentListImpl comments = getComments(); if (comments == null) return a; if (a == null) a = sb.makeAnnotations(null, getContext()); a.addComment(comments); return a; }
private void addAttribute(Annotations<Location, ElementAnnotation, CommentListImpl> a, String ns, String localName, String prefix, String value, Token tok) { String key = ns + "#" + localName; if (attributeNames.contains(key)) error("duplicate_attribute", ns, localName, tok); else { attributeNames.add(key); a.addAttribute(ns, localName, prefix, value, makeLocation(tok)); } }
if (a == null) a = sb.makeAnnotations(null, getContext()); a.addElement(e);
if (a == null) a = sb.makeAnnotations(null, getContext()); a.addElement(e);