samples/componentinjection/anagram-modular/src-api-compiletimecaches/org/apidesign/anagram/api/annotations/Words.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 30 Oct 2014 21:30:10 +0100
changeset 409 40cabcdcd2be
permissions -rw-r--r--
Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
     1 /*
     2  * To change this template, choose Tools | Templates
     3  * and open the template in the editor.
     4  */
     5 
     6 package org.apidesign.anagram.api.annotations;
     7 
     8 import java.lang.annotation.ElementType;
     9 import java.lang.annotation.Retention;
    10 import java.lang.annotation.RetentionPolicy;
    11 import java.lang.annotation.Target;
    12 import org.apidesign.anagram.api.WordLibrary;
    13 
    14 /**
    15  * Annotations to mark a static method returning array of Strings with.
    16  * Such method is then treated as a provider of {@link WordLibrary}.
    17  * <p>
    18  * Its retention is set to source one, as it is
    19  * processed by associated WordsProcessor during compile time.
    20  *
    21  * @author Jaroslav Tulach <jtulach@netbeans.org>
    22  */
    23 // BEGIN: anagram.api.Words
    24 @Retention(RetentionPolicy.SOURCE)
    25 @Target(ElementType.METHOD)
    26 public @interface Words {
    27 }
    28 // END: anagram.api.Words