Specify supported source version
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 02 May 2013 21:22:44 +0200
changeset 581aed561982c4
parent 57 f47e90afbab2
child 59 7fae5a91c9c7
Specify supported source version
json/src/main/java/org/apidesign/html/json/impl/ModelProcessor.java
     1.1 --- a/json/src/main/java/org/apidesign/html/json/impl/ModelProcessor.java	Wed May 01 07:20:06 2013 +0200
     1.2 +++ b/json/src/main/java/org/apidesign/html/json/impl/ModelProcessor.java	Thu May 02 21:22:44 2013 +0200
     1.3 @@ -42,6 +42,8 @@
     1.4  import javax.annotation.processing.Processor;
     1.5  import javax.annotation.processing.RoundEnvironment;
     1.6  import javax.annotation.processing.SupportedAnnotationTypes;
     1.7 +import javax.annotation.processing.SupportedSourceVersion;
     1.8 +import javax.lang.model.SourceVersion;
     1.9  import javax.lang.model.element.AnnotationMirror;
    1.10  import javax.lang.model.element.AnnotationValue;
    1.11  import javax.lang.model.element.Element;
    1.12 @@ -74,6 +76,7 @@
    1.13   * @author Jaroslav Tulach <jtulach@netbeans.org>
    1.14   */
    1.15  @ServiceProvider(service=Processor.class)
    1.16 +@SupportedSourceVersion(SourceVersion.RELEASE_7)
    1.17  @SupportedAnnotationTypes({
    1.18      "net.java.html.json.Model",
    1.19      "net.java.html.json.Function",