Class Types.JavaTypes

java.lang.Object
org.springframework.modulith.core.Types.JavaTypes
Enclosing class:
Types

static class Types.JavaTypes extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static Predicate<com.tngtech.archunit.core.domain.JavaClass>
     
    (package private) static Predicate<com.tngtech.archunit.core.domain.JavaClass>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static Stream<com.tngtech.archunit.core.domain.JavaClass>
    relatedTypesOf(com.tngtech.archunit.core.domain.JavaClass type, Predicate<? super com.tngtech.archunit.core.domain.JavaClass> filter)
    Returns all related types of the given one, i.e., all public, non-core, non-primitive Java types declared on public methods (as either return type or parameter) and constructors, with the given filter applied.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • IS_CORE_JAVA_TYPE

      static Predicate<com.tngtech.archunit.core.domain.JavaClass> IS_CORE_JAVA_TYPE
    • IS_NOT_CORE_JAVA_TYPE

      static Predicate<com.tngtech.archunit.core.domain.JavaClass> IS_NOT_CORE_JAVA_TYPE
  • Constructor Details

    • JavaTypes

      JavaTypes()
  • Method Details

    • relatedTypesOf

      static Stream<com.tngtech.archunit.core.domain.JavaClass> relatedTypesOf(com.tngtech.archunit.core.domain.JavaClass type, Predicate<? super com.tngtech.archunit.core.domain.JavaClass> filter)
      Returns all related types of the given one, i.e., all public, non-core, non-primitive Java types declared on public methods (as either return type or parameter) and constructors, with the given filter applied.
      Parameters:
      type - must not be null.
      filter - must not be null.
      Returns:
      will never be null.
      Since:
      2.0