extensions/persist/src/com/google/inject/persist/finder/DynamicFinder.java
public static DynamicFinder from(Method method) {
    return method.isAnnotationPresent(Finder.class) ? new DynamicFinder(method) : null;
  }
public static DynamicFinder from(Method method) {
    return method.isAnnotationPresent(Finder.class) ? new DynamicFinder(method) : null;
  }
public static DynamicFinder from ( Method method ) { return method . isAnnotationPresent ( Finder . class ) ? new DynamicFinder ( method ) : null ; }
Returns some metadata if the method is annotated {@code @Finder} or null.

@param method a method you want to test as a dynamic finder
Returns some metadata if the method is annotated { @code @Finder } or null .