1package org.hamcrest;
2
3import static java.lang.annotation.ElementType.METHOD;
4import java.lang.annotation.Retention;
5import static java.lang.annotation.RetentionPolicy.RUNTIME;
6import java.lang.annotation.Target;
7
8/**
9 * Marks a Hamcrest static factory method so tools recognise them.
10 * A factory method is an equivalent to a named constructor.
11 *
12 * @author Joe Walnes
13 */
14@Retention(RUNTIME)
15@Target({METHOD})
16public @interface Factory {
17}
18