samples/componentinjection/anagram-modular/src-api-compiletimecaches/org/apidesign/anagram/api/annotations/Words.java
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/samples/componentinjection/anagram-modular/src-api-compiletimecaches/org/apidesign/anagram/api/annotations/Words.java Fri Mar 25 07:34:02 2016 +0100
1.3 @@ -0,0 +1,28 @@
1.4 +/*
1.5 + * To change this template, choose Tools | Templates
1.6 + * and open the template in the editor.
1.7 + */
1.8 +
1.9 +package org.apidesign.anagram.api.annotations;
1.10 +
1.11 +import java.lang.annotation.ElementType;
1.12 +import java.lang.annotation.Retention;
1.13 +import java.lang.annotation.RetentionPolicy;
1.14 +import java.lang.annotation.Target;
1.15 +import org.apidesign.anagram.api.WordLibrary;
1.16 +
1.17 +/**
1.18 + * Annotations to mark a static method returning array of Strings with.
1.19 + * Such method is then treated as a provider of {@link WordLibrary}.
1.20 + * <p>
1.21 + * Its retention is set to source one, as it is
1.22 + * processed by associated WordsProcessor during compile time.
1.23 + *
1.24 + * @author Jaroslav Tulach <jtulach@netbeans.org>
1.25 + */
1.26 +// BEGIN: anagram.api.Words
1.27 +@Retention(RetentionPolicy.SOURCE)
1.28 +@Target(ElementType.METHOD)
1.29 +public @interface Words {
1.30 +}
1.31 +// END: anagram.api.Words