001package org.hamcrest;
002
003import static java.lang.annotation.ElementType.METHOD;
004import java.lang.annotation.Retention;
005import static java.lang.annotation.RetentionPolicy.RUNTIME;
006import 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})
016public @interface Factory {
017}