diff -r 000000000000 -r 219810ff3c72 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 Sat Jun 20 16:06:19 2009 +0200 @@ -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 + */ +// BEGIN: anagram.api.Words +@Retention(RetentionPolicy.SOURCE) +@Target(ElementType.METHOD) +public @interface Words { +} +// END: anagram.api.Words