Factory (Hamcrest)
Date: 2012-07-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.hamcrest
Annotation Type Factory

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public @interface Factory

Marks a Hamcrest static factory method so tools recognise them. A factory method is an equivalent to a named constructor.

Author:
  Joe Walnes

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT