Class SyntacticSugar

java.lang.Object
org.springframework.modulith.core.SyntacticSugar

class SyntacticSugar extends Object
Helper to make the composition of DescribedPredicates more readable.
Since:
1.2
Author:
Oliver Drotbohm
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (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>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)