Class InheritanceRules
java.lang.Object
dev.archunitjava.rules.InheritanceRules
Deterministic inheritance, implementation, assignability, and sealed-hierarchy rules.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArchitectureRuletypes(TypeModelResult model, TypeHierarchy hierarchy, TypeSelector subjects, TypeSelector targets, HierarchyRuleSpec spec) static ArchitectureRuletypes(TypeModelResult model, TypeSelector subjects, TypeSelector targets, HierarchyRuleSpec spec)
-
Method Details
-
types
public static ArchitectureRule types(TypeModelResult model, TypeSelector subjects, TypeSelector targets, HierarchyRuleSpec spec) -
types
public static ArchitectureRule types(TypeModelResult model, TypeHierarchy hierarchy, TypeSelector subjects, TypeSelector targets, HierarchyRuleSpec spec)
-