samples/componentinjection/anagram-modular/src-api-compiletimecaches/org/apidesign/anagram/api/annotations/Words.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 25 Mar 2016 07:34:02 +0100
changeset 411 9eb6379b97f0
permissions -rw-r--r--
Prevent NPE on Aqua LaF by explicitly using Metal
     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