11ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotpackage org.hamcrest; 21ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot 31ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotimport static java.lang.annotation.ElementType.METHOD; 41ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotimport java.lang.annotation.Retention; 51ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotimport static java.lang.annotation.RetentionPolicy.RUNTIME; 61ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotimport java.lang.annotation.Target; 71ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot 81ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot/** 91ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * Marks a Hamcrest static factory method so tools recognise them. 101ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * A factory method is an equivalent to a named constructor. 111ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * 121ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * @author Joe Walnes 131ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot */ 141ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot@Retention(RUNTIME) 151ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot@Target({METHOD}) 161ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotpublic @interface Factory { 171ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot} 18