public final class ClazzPredicates extends Object
Modifier and Type | Field and Description |
---|---|
static Predicate<Clazz> |
ABSTRACT |
static Predicate<Clazz> |
ANNOTATION |
static Predicate<Clazz> |
DEPRECATED |
static Predicate<Clazz> |
EACH
This is a catch-all predicate that can be used to collect
anything that does not match another predicate.
|
static Predicate<Clazz> |
ENUM |
static Predicate<Clazz> |
FINAL |
static Predicate<Clazz> |
INNER_TYPE |
static Predicate<Clazz> |
INTERFACE |
static Predicate<Clazz> |
PUBLIC |
static Predicate<Clazz> |
SUPER |
static Predicate<Clazz> |
SYNTHETIC |
Constructor and Description |
---|
ClazzPredicates() |
Modifier and Type | Method and Description |
---|---|
static Predicate<Clazz> |
hostedBy(Clazz host) |
static Predicate<Clazz> |
implementsInterface(String interfaceName) |
static Predicate<Clazz> |
matches(Predicate<Class<?>> classPredicate) |
static Predicate<Clazz> |
matchesAnnotation(AnnotationPattern annotationPattern) |
static Predicate<Clazz> |
matchesClassFile(Predicate<ClassFile> classFilePredicate) |
static Predicate<Clazz> |
matchesName(String regex) |
static Predicate<Clazz> |
matchesSimpleName(String regex) |
public static final Predicate<Clazz> EACH
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.