Package | Description |
---|---|
org.dessertj.partitioning |
Partitioning of slices for architecture validations.
|
org.dessertj.resolve |
Logic to build up a hierarchical data structure of
packages.
|
org.dessertj.slicing |
The core functionality of dessert: The logic to slice down the classpath.
|
org.dessertj.util |
Some utilities.
|
Modifier and Type | Field and Description |
---|---|
static Predicate<Clazz> |
ClazzPredicates.ABSTRACT |
static Predicate<Clazz> |
ClazzPredicates.ANNOTATION |
static Predicate<Clazz> |
ClazzPredicates.DEPRECATED |
static Predicate<Clazz> |
ClazzPredicates.EACH
This is a catch-all predicate that can be used to collect
anything that does not match another predicate.
|
static Predicate<Clazz> |
ClazzPredicates.ENUM |
static Predicate<Clazz> |
ClazzPredicates.FINAL |
static Predicate<Clazz> |
ClazzPredicates.INNER_TYPE |
static Predicate<Clazz> |
ClazzPredicates.INTERFACE |
static Predicate<Clazz> |
ClazzPredicates.PUBLIC |
static Predicate<Clazz> |
ClazzPredicates.SUPER |
static Predicate<Clazz> |
ClazzPredicates.SYNTHETIC |
Modifier and Type | Method and Description |
---|---|
static Predicate<Clazz> |
ClazzPredicates.hostedBy(Clazz host) |
static Predicate<Clazz> |
ClazzPredicates.implementsInterface(String interfaceName) |
static Predicate<Clazz> |
ClazzPredicates.matches(Predicate<Class<?>> classPredicate) |
static Predicate<Clazz> |
ClazzPredicates.matchesAnnotation(AnnotationPattern annotationPattern) |
static Predicate<Clazz> |
ClazzPredicates.matchesClassFile(Predicate<ClassFile> classFilePredicate) |
static Predicate<Clazz> |
ClazzPredicates.matchesName(String regex) |
static Predicate<Clazz> |
ClazzPredicates.matchesSimpleName(String regex) |
Modifier and Type | Method and Description |
---|---|
static Predicate<Clazz> |
ClazzPredicates.matches(Predicate<Class<?>> classPredicate) |
static Predicate<Clazz> |
ClazzPredicates.matchesClassFile(Predicate<ClassFile> classFilePredicate) |
Modifier and Type | Method and Description |
---|---|
Set<File> |
ClassResolver.getRootFiles(Predicate<File> predicate) |
Modifier and Type | Method and Description |
---|---|
Slice |
AbstractSlice.minus(Predicate<Clazz> predicate) |
Slice |
AbstractDelegateSlice.minus(Predicate<Clazz> predicate) |
Slice |
Slice.minus(Predicate<Clazz> predicate)
This is a convenience method for
this.minus(this.slice(predicate)) . |
Slice |
Clazz.slice(Predicate<Clazz> predicate) |
ConcreteSlice |
ConcreteSlice.slice(Predicate<Clazz> predicate) |
Slice |
AbstractDelegateSlice.slice(Predicate<Clazz> predicate) |
Slice |
AbstractRootSlice.slice(Predicate<Clazz> predicate) |
Slice |
Slice.slice(Predicate<Clazz> predicate)
Creates a new slices of all classes of this slide that fulfill the specified
name predicate.
|
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
Predicates.and(Predicate<T>... predicates) |
static <T> Predicate<T> |
Predicates.any() |
static <T> Predicate<T> |
Predicates.none() |
static <T> Predicate<T> |
Predicates.not(Predicate<T> predicate) |
static <T> Predicate<T> |
Predicates.or(Predicate<T>... predicates) |
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
Predicates.and(Predicate<T>... predicates) |
static <T> List<T> |
ArrayUtils.filter(T[] array,
Predicate<T> predicate) |
static <T> T |
ArrayUtils.findFirst(T[] array,
Predicate<T> predicate) |
static <T> Predicate<T> |
Predicates.not(Predicate<T> predicate) |
static <T> Predicate<T> |
Predicates.or(Predicate<T>... predicates) |
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.