<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="font-family:
        arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
        line-height: 20px;">Hi Pete,<br>
        <br>
        Could you take a look at
        <a class="moz-txt-link-freetext" href="https://jira.jboss.org/browse/JBIDE-7710">https://jira.jboss.org/browse/JBIDE-7710</a><br>
        JSR-299 says that a qualifier type is a Java annotation defined
        as @Target({METHOD, FIELD, PARAMETER, TYPE}) or @Target({FIELD,
        PARAMETER}) (an event qualifier type):<br>
        <br>
      </span></span>
    <blockquote><span class="Apple-style-span" style="border-collapse:
        separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>2.3.2. Defining new qualifier types</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>A qualifier type is a Java annotation
            defined as @Target({METHOD, FIELD, PARAMETER, TYPE}) and
            @Retention(RUNTIME).</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>...</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"></span></span></blockquote>
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="font-family:
        arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
        line-height: 20px;"><br>
      </span></span>
    <blockquote><span class="Apple-style-span" style="border-collapse:
        separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>10.1. Event types and qualifier types</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>...</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>An event qualifier type is just an
            ordinary qualifier type as specified in Section 2.3.2,
            “Defining new qualifier types” with the exception that it
            may be declared @Target({FIELD, PARAMETER}).</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>...</i></span></span><br>
      <span class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"></span></span></blockquote>
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="font-family:
        arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
        line-height: 20px;"><br>
        But the spec doesn't require to treat other kinds of @Target
        (for example @Target({FIELD, METHOD, PARAMETER} which is used in
      </span></span><span class="Apple-style-span"
      style="border-collapse: separate; color: rgb(0, 0, 0);
      font-family: 'Times New Roman'; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: 2; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 2; word-spacing: 0px; font-size:
      medium;"><span class="Apple-style-span" style="font-family:
        arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
        line-height: 20px;">weld-jsf-jee archetype</span></span><span
      class="Apple-style-span" style="border-collapse: separate; color:
      rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: normal; orphans: 2; text-indent: 0px; text-transform:
      none; white-space: normal; widows: 2; word-spacing: 0px;
      font-size: medium;"><span class="Apple-style-span"
        style="font-family: arial,FreeSans,Helvetica,sans-serif;
        font-size: 14px; line-height: 20px;">) as a definition error.<br>
        It seems that we got it wrong and if there is any @Target except
      </span></span><span class="Apple-style-span"
      style="border-collapse: separate; color: rgb(0, 0, 0);
      font-family: 'Times New Roman'; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: 2; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 2; word-spacing: 0px; font-size:
      medium;"><span class="Apple-style-span" style="font-family:
        arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
        line-height: 20px;">@Target({METHOD, FIELD, PARAMETER, TYPE}) or
        @Target({FIELD, PARAMETER}) then JBT marks such definitions as
        errors:<br>
      </span></span>
    <blockquote><span class="Apple-style-span" style="border-collapse:
        separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; font-size: medium;"><span
          class="Apple-style-span" style="font-family:
          arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
          line-height: 20px;"><i>Qualifier annotation type must be
            annotated with @Target({TYPE, METHOD, FIELD, PARAMETER}) or
            @Target({METHOD, FIELD}) [JSR-299 §2.3.2, §10.1]</i><span
            class="Apple-converted-space"> </span></span></span><br>
    </blockquote>
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="font-family:
        arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
        line-height: 20px;">Can you confirm that actually a qualifier
        type could have any @Target?<br>
        <br>
        Thanks.<br>
      </span></span>
  </body>
</html>