Interface InterfaceDatabase


public interface InterfaceDatabase
This class provides searchable access to classes by interface.
Author:
Ville Koskela (ville dot koskela at inscopemetrics dot io)
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Set<Class<? extends T>>
    findClassesWithInterface(Class<T> interfaceClass)
    Retrieve the Set of classes with the implemented interface.
  • Method Details

    • findClassesWithInterface

      <T> Set<Class<? extends T>> findClassesWithInterface(Class<T> interfaceClass)
      Retrieve the Set of classes with the implemented interface.
      Type Parameters:
      T - The interface type.
      Parameters:
      interfaceClass - The interface class to search for.
      Returns:
      The Set of classes that are implementing the specified interface.