public class ClassMatcher extends AbstractAnnotationMatcher implements BaselineMatcher
PROJECT_CLASSPATH_HOLDER| Constructor and Description |
|---|
ClassMatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureAccept(io.github.classgraph.ClassGraph classGraph) |
void |
configureReject(io.github.classgraph.ClassGraph classGraph) |
boolean |
test(io.github.classgraph.ClassInfo classInfo) |
ClassMatcher |
withName(java.lang.String name) |
ClassMatcher |
withNameLike(java.lang.String glob) |
ClassMatcher |
withoutParentClass() |
ClassMatcher |
withParentClass() |
annotatedWith, annotationsMatchandNative, andNotNative, andNotStatic, andNotTransient, andNotVolatile, andPackagePrivate, andPrivate, andProtected, andPublic, andStatic, andTransient, andVolatile, modifiersMatch, orPackagePrivate, orPrivate, orProtected, orPublic, thatAreNative, thatAreNotNative, thatAreNotStatic, thatAreNotTransient, thatAreNotVolatile, thatArePackagePrivate, thatArePrivate, thatAreProtected, thatArePublic, thatAreStatic, thatAreTransient, thatAreVolatilenameMatchesclasspathMatches, insideOfProject, outsideOfProject, setProjectClasspathpublic ClassMatcher withName(java.lang.String name)
withName in class AbstractModifierMatcherpublic ClassMatcher withNameLike(java.lang.String glob)
withNameLike in class AbstractModifierMatcherpublic ClassMatcher withParentClass()
public ClassMatcher withoutParentClass()
public boolean test(io.github.classgraph.ClassInfo classInfo)
test in interface java.util.function.Predicate<io.github.classgraph.ClassInfo>public void configureAccept(io.github.classgraph.ClassGraph classGraph)
configureAccept in interface BaselineMatcherpublic void configureReject(io.github.classgraph.ClassGraph classGraph)
configureReject in interface BaselineMatcher