Package 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.
-
-
Constructor Summary
Constructors Constructor Description DynamicFinder(Method method)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DynamicFinder
from(Method method)
Returns some metadata if the method is annotated@Finder
or null.Finder
metadata()
-
-
-
Constructor Detail
-
DynamicFinder
public DynamicFinder(Method method)
-
-
Method Detail
-
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()
-
-