Package | Description |
---|---|
org.dessertj.assertions |
Provides the logic to check assertions.
|
org.dessertj.partitioning |
Partitioning of slices for architecture validations.
|
org.dessertj.slicing |
The core functionality of dessert: The logic to slice down the classpath.
|
Modifier and Type | Method and Description |
---|---|
Map<Clazz,Set<Clazz>> |
IllegalDependencies.getViolations() |
Map<Clazz,Set<Clazz>> |
IllegalDependencies.getViolations() |
Modifier and Type | Method and Description |
---|---|
void |
IllegalDependencies.add(Clazz clazz,
Clazz illegalDependency)
Add an illegal dependency for a class.
|
void |
IllegalDependencies.add(Clazz clazz,
Set<Clazz> illegalDependencies)
Add a set of illegal dependencies for a class.
|
Modifier and Type | Method and Description |
---|---|
void |
IllegalDependencies.add(Clazz clazz,
Set<Clazz> illegalDependencies)
Add a set of illegal dependencies for a class.
|
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.hostedBy(Clazz host) |
Modifier and Type | Field and Description |
---|---|
static Clazz |
Clazz.UNDEFINED |
Modifier and Type | Method and Description |
---|---|
Clazz |
Classpath.asClazz(Class<?> classImpl)
|
Clazz |
Classpath.asClazz(String classname)
Creates a
Clazz form a classname. |
Clazz |
Clazz.getHost() |
Clazz |
Clazz.getSuperclass() |
Modifier and Type | Method and Description |
---|---|
List<Clazz> |
Clazz.getAlternatives() |
Set<Clazz> |
Clazz.getClazzes() |
Set<Clazz> |
ConcreteSlice.getClazzes() |
Set<Clazz> |
AbstractDelegateSlice.getClazzes() |
Set<Clazz> |
AbstractRootSlice.getClazzes() |
Set<Clazz> |
ClazzResolver.getClazzes() |
Set<Clazz> |
Slice.getClazzes()
Returns all classes belonging to this slice.
|
List<Clazz> |
Clazz.getImplementedInterfaces() |
Modifier and Type | Method and Description |
---|---|
int |
Clazz.compareTo(Clazz o) |
boolean |
Clazz.contains(Clazz clazz) |
boolean |
ConcreteSlice.contains(Clazz entry) |
boolean |
AbstractDelegateSlice.contains(Clazz entry) |
boolean |
AbstractRootSlice.contains(Clazz clazz) |
boolean |
Slice.contains(Clazz clazz)
Check whether a class belongs to a slice.
|
String |
SlicePartitioner.partKey(Clazz entry) |
Modifier and Type | Method and Description |
---|---|
S |
PartitionSliceFactory.createPartSlice(String partKey,
Set<Clazz> entries,
Map<String,S> slices) |
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.
|
Constructor and Description |
---|
ConcreteSlice(Set<Clazz> entries) |
PartitionSlice(String partKey,
Set<Clazz> sliceEntries) |
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.