Interface ClassProvider<I>

All Known Implementing Classes:
LocationScanner

public interface ClassProvider<I>
A facility to obtain classes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<Class<? extends I>>
    Retrieve all classes which implement the specified interface.
    static <T> ClassProvider<T>
     
  • Method Details

    • getClasses

      Collection<Class<? extends I>> getClasses()
      Retrieve all classes which implement the specified interface.
      Returns:
      The non-abstract classes that were found.
    • noClasses

      static <T> ClassProvider<T> noClasses()
      Returns:
      Class provider that always returns an empty set of classes.