Class SyntacticSugar
java.lang.Object
org.springframework.modulith.core.SyntacticSugar
Helper to make the composition of
DescribedPredicate
s more readable.- Since:
- 1.2
- Author:
- Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static <T> com.tngtech.archunit.base.DescribedPredicate<T>
are
(com.tngtech.archunit.base.DescribedPredicate<T> predicate) (package private) static <T> com.tngtech.archunit.base.DescribedPredicate<T>
doNotHave
(com.tngtech.archunit.base.DescribedPredicate<T> predicate) (package private) static <T> com.tngtech.archunit.base.DescribedPredicate<T>
has
(com.tngtech.archunit.base.DescribedPredicate<T> predicate) (package private) static <T> com.tngtech.archunit.base.DescribedPredicate<T>
have
(com.tngtech.archunit.base.DescribedPredicate<T> predicate) (package private) static <T> com.tngtech.archunit.base.DescribedPredicate<T>
is
(com.tngtech.archunit.base.DescribedPredicate<T> predicate) (package private) static com.tngtech.archunit.base.DescribedPredicate<com.tngtech.archunit.core.domain.properties.CanBeAnnotated>
isAnnotatedWith
(Class<? extends Annotation> type) (package private) static com.tngtech.archunit.base.DescribedPredicate<com.tngtech.archunit.core.domain.properties.CanBeAnnotated>
isAnnotatedWith
(String type)
-
Constructor Details
-
SyntacticSugar
SyntacticSugar()
-
-
Method Details
-
isAnnotatedWith
static com.tngtech.archunit.base.DescribedPredicate<com.tngtech.archunit.core.domain.properties.CanBeAnnotated> isAnnotatedWith(Class<? extends Annotation> type) -
isAnnotatedWith
static com.tngtech.archunit.base.DescribedPredicate<com.tngtech.archunit.core.domain.properties.CanBeAnnotated> isAnnotatedWith(String type) -
are
static <T> com.tngtech.archunit.base.DescribedPredicate<T> are(com.tngtech.archunit.base.DescribedPredicate<T> predicate) -
has
static <T> com.tngtech.archunit.base.DescribedPredicate<T> has(com.tngtech.archunit.base.DescribedPredicate<T> predicate) -
have
static <T> com.tngtech.archunit.base.DescribedPredicate<T> have(com.tngtech.archunit.base.DescribedPredicate<T> predicate) -
is
static <T> com.tngtech.archunit.base.DescribedPredicate<T> is(com.tngtech.archunit.base.DescribedPredicate<T> predicate) -
doNotHave
static <T> com.tngtech.archunit.base.DescribedPredicate<T> doNotHave(com.tngtech.archunit.base.DescribedPredicate<T> predicate)
-