public class ConcreteSlice extends AbstractSlice
Clazz.
The sum or difference on concrete slices
produce a concrete slice again.| Modifier and Type | Field and Description |
|---|---|
static ConcreteSlice |
EMPTY_SLICE |
| Modifier | Constructor and Description |
|---|---|
protected |
ConcreteSlice(Set<Clazz> entries) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Clazz entry)
Check whether a class belongs to a slice.
|
Set<Clazz> |
getClazzes()
Returns all classes belonging to this slice.
|
ConcreteSlice |
slice(Predicate<Clazz> predicate)
Creates a new slices of all classes of this slide that fulfill the specified
name predicate.
|
String |
toString() |
dependencyClosure, getDependencies, minus, minus, minus, minus, named, partitionBy, partitionBy, partitionByPackage, plus, plus, slice, slice, slice, usesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdependencyClosure, getDependencies, minus, minus, minus, minus, named, partitionBy, partitionBy, partitionByPackage, plus, plus, slice, slice, slice, usespublic static final ConcreteSlice EMPTY_SLICE
public ConcreteSlice slice(Predicate<Clazz> predicate)
Sliceslice in interface Slicepredicate - the predicatefor predefined predicatespublic boolean contains(Clazz entry)
Slicepublic Set<Clazz> getClazzes()
SliceClasspath. A slice derived from some pattern or Predicate
will throw a ResolveException instead.getClazzes in interface SliceCopyright © 2017–2025 Hans Jörg Heßmann. All rights reserved.