jtulach@336: /* jtulach@336: * To change this template, choose Tools | Templates jtulach@336: * and open the template in the editor. jtulach@336: */ jtulach@336: jtulach@336: package org.apidesign.anagram.api.annotations; jtulach@336: jtulach@336: import java.lang.annotation.ElementType; jtulach@336: import java.lang.annotation.Retention; jtulach@336: import java.lang.annotation.RetentionPolicy; jtulach@336: import java.lang.annotation.Target; jtulach@336: import org.apidesign.anagram.api.WordLibrary; jtulach@336: jtulach@336: /** jtulach@336: * Annotations to mark a static method returning array of Strings with. jtulach@336: * Such method is then treated as a provider of {@link WordLibrary}. jtulach@336: *

jtulach@336: * Its retention is set to source one, as it is jtulach@336: * processed by associated WordsProcessor during compile time. jtulach@336: * jtulach@336: * @author Jaroslav Tulach jtulach@336: */ jtulach@336: // BEGIN: anagram.api.Words jtulach@336: @Retention(RetentionPolicy.SOURCE) jtulach@336: @Target(ElementType.METHOD) jtulach@336: public @interface Words { jtulach@336: } jtulach@336: // END: anagram.api.Words