public class ClassResolver extends Object
Constructor and Description |
---|
ClassResolver() |
Modifier and Type | Method and Description |
---|---|
Set<Class<?>> |
forPattern(String pattern) |
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
|
boolean |
isSupportJarResources() |
ClassResolver |
setSupportJarResources(boolean supportJarResources) |
public boolean isSupportJarResources()
public ClassResolver setSupportJarResources(boolean supportJarResources)
public Set<Class<?>> forPattern(@Nullable String pattern, @Nullable List<Class<? extends Annotation>> annotations)
pattern
- filter pattern to apply. Can be null, defaulting to all classpath URL resourcesannotations
- annotations to ensure are present. Can be nullCopyright © 2003–2021 Atlassian. All rights reserved.