Class ClassResolver


  • public class ClassResolver
    extends Object
    • Constructor Detail

      • ClassResolver

        public ClassResolver()
    • Method Detail

      • isSupportJarResources

        public boolean isSupportJarResources()
      • setSupportJarResources

        public ClassResolver setSupportJarResources​(boolean supportJarResources)
      • forPattern

        public Set<Class<?>> forPattern​(@Nullable String pattern,
                                        @Nullable List<Class<? extends Annotation>> annotations)
        Filter classes that match the pattern and have matching annotations on the class
        Parameters:
        pattern - filter pattern to apply. Can be null, defaulting to all classpath URL resources
        annotations - annotations to ensure are present. Can be null
        Returns:
        the classes matching the pattern and annotation filters