java.lang.Object
com.marginallyclever.ro3.view.ViewFinder

public class ViewFinder extends Object
Finds all classes annotated with View that are 'of' the given target class.
  • Constructor Details

    • ViewFinder

      public ViewFinder()
  • Method Details

    • findViews

      public static Set<ViewProvider<?>> findViews(Class<?> targetClass)
      Finds all @View(of=targetClass) classes.
      Parameters:
      targetClass - the class to find views for
      Returns:
      a set of view providers