blob: 99a5132d2a22802fc3f3ffd8ed99d2f5ae314d2f [file] [log] [blame]
package org.hamcrest;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Marks a Hamcrest static factory method so tools recognise them.
* A factory method is an equivalent to a named constructor.
*
* @deprecated The code generator is no longer maintained. Write classes of syntactic sugar by hand.
* @author Joe Walnes
*/
@Retention(RUNTIME)
@Target({METHOD})
@Deprecated
public @interface Factory {
}