com.wideplay.warp.persist.internal
Class InternalPersistenceMatchers
java.lang.Object
com.wideplay.warp.persist.internal.InternalPersistenceMatchers
public class InternalPersistenceMatchers
- extends Object
Custom internal matchers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
finderWithUnit
public static com.google.inject.matcher.Matcher<AnnotatedElement> finderWithUnit(Class<?> annotation)
- Matches on all
@
Finder
annotations
that have the specified unit.
finderWithUnit(Sales.class) => @Finder(unit=Sales.class)
- Parameters:
annotation
- the unit annotation
- Returns:
- a matcher that matches on
@Finder(unit=annotation)