001    package org.hamcrest;
002    
003    import static java.lang.annotation.ElementType.METHOD;
004    import java.lang.annotation.Retention;
005    import static java.lang.annotation.RetentionPolicy.RUNTIME;
006    import java.lang.annotation.Target;
007    
008    /**
009     * Marks a Hamcrest static factory method so tools recognise them.
010     * A factory method is an equivalent to a named constructor.
011     * 
012     * @author Joe Walnes
013     */
014    @Retention(RUNTIME)
015    @Target({METHOD})
016    public @interface Factory {
017    }