Interface ResolverUtil.Test

All Known Implementing Classes:
ResolverUtil.AnnotatedWith, ResolverUtil.IsA
Enclosing class:
ResolverUtil<T>

public static interface ResolverUtil.Test
A simple interface that specifies how to test classes to determine if they are to be included in the results produced by the ResolverUtil.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(Class<?> type)
    Will be called repeatedly with candidate classes.
  • Method Details

    • matches

      boolean matches(Class<?> type)
      Will be called repeatedly with candidate classes. Must return True if a class is to be included in the results, false otherwise.
      Parameters:
      type - the type
      Returns:
      true, if successful