classes

Access the class-level declarative assertion rule builder. Allows filtering and assertion of class structure, modifiers, annotations, visibility, and dependencies.


Define and run class dependency/structural rules inside a block-based DSL context. Automatically checks the rules at the end of the block.


Filters the list of class declarations to include only normal classes (excluding interface definitions).




Delegates classes property to the underlying FileDeclaration.