Class DynamicFinder


  • public final class DynamicFinder
    extends java.lang.Object
    Utility that helps you introspect dynamic finder methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicFinder​(java.lang.reflect.Method method)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static DynamicFinder from​(java.lang.reflect.Method method)
      Returns some metadata if the method is annotated @Finder or null.
      Finder metadata()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamicFinder

        public DynamicFinder​(java.lang.reflect.Method method)
    • Method Detail

      • from

        public static DynamicFinder from​(java.lang.reflect.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()