diff -r 000000000000 -r 9eb6379b97f0 samples/componentinjection/anagram-modular/src-api-compiletimecaches/org/apidesign/anagram/api/annotations/Words.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/componentinjection/anagram-modular/src-api-compiletimecaches/org/apidesign/anagram/api/annotations/Words.java Fri Mar 25 07:34:02 2016 +0100 @@ -0,0 +1,28 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +package org.apidesign.anagram.api.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +import org.apidesign.anagram.api.WordLibrary; + +/** + * Annotations to mark a static method returning array of Strings with. + * Such method is then treated as a provider of {@link WordLibrary}. + *
+ * Its retention is set to source one, as it is
+ * processed by associated WordsProcessor during compile time.
+ *
+ * @author Jaroslav Tulach