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.
staticStream<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.