Java Code Examples for com.sun.xml.internal.rngom.ast.builder.ElementAnnotationBuilder#addElement()

The following examples show how to use com.sun.xml.internal.rngom.ast.builder.ElementAnnotationBuilder#addElement() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CompactSyntax.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 2
Source File: CompactSyntax.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 3
Source File: CompactSyntax.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 4
Source File: CompactSyntax.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 5
Source File: CompactSyntax.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 6
Source File: CompactSyntax.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 7
Source File: CompactSyntax.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}
 
Example 8
Source File: CompactSyntax.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
final public void AnnotationElementContent(ElementAnnotationBuilder eab) throws ParseException {
ParsedElementAnnotation e;
  jj_consume_token(1);
      clearAttributeList();
  label_23:
  while (true) {
    if (jj_2_8(2)) {
      ;
    } else {
      break label_23;
    }
    AnnotationAttribute(eab);
  }
  label_24:
  while (true) {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
    case LITERAL:
      ;
      break;
    default:
      jj_la1[63] = jj_gen;
      break label_24;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case LITERAL:
      AnnotationElementLiteral(eab);
      label_25:
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case 8:
          ;
          break;
        default:
          jj_la1[64] = jj_gen;
          break label_25;
        }
        jj_consume_token(8);
        AnnotationElementLiteral(eab);
      }
      break;
    case 5:
    case 6:
    case 7:
    case 10:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 26:
    case 27:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
    case IDENTIFIER:
    case ESCAPED_IDENTIFIER:
    case PREFIXED_NAME:
      e = AnnotationElement(true);
                                 eab.addElement(e);
      break;
    default:
      jj_la1[65] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }
  eab.addComment(getComments());
  jj_consume_token(9);
}