com.google.inject.persist.finder
Class DynamicFinder
java.lang.Object
com.google.inject.persist.finder.DynamicFinder
public final class DynamicFinder
- extends Object
Utility that helps you introspect dynamic finder methods.
- Author:
- dhanji@gmail.com (Dhanji R. Prasanna)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicFinder
public DynamicFinder(Method method)
from
public static DynamicFinder from(Method method)
- Returns some metadata if the method is annotated
@Finder
or null.
- Parameters:
method
- a method you want to test as a dynamic finder
metadata
public Finder metadata()
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.