PropertyDeclarationContext
Context wrapper for verifying property declarations.
Provides both the target declaration and architectural metadata to easily query scope.
Constructors
Properties
Delegates annotations property to the underlying PropertyDeclaration.
Filter or assertion criteria for declaration.
Delegates isExtension property to the underlying PropertyDeclaration.
Delegates isVal property to the underlying PropertyDeclaration.
Delegates isVar property to the underlying PropertyDeclaration.
Delegates kdocText property to the underlying PropertyDeclaration.
Delegates modifiers property to the underlying PropertyDeclaration.
Filter or assertion criteria for module path.
Delegates name property to the underlying PropertyDeclaration.
Filter or assertion criteria for package name.
The fully-qualified name of the property, combining package, enclosing class (if any), and simple name (e.g. com.acme.UserService.repository), used to identify it unambiguously in violation messages.
Filter or assertion criteria for source set.
Delegates type property to the underlying PropertyDeclaration.
Filter or assertion criteria for usages.
Delegates visibility property to the underlying PropertyDeclaration.
Functions
Helper extension to check if a property has all of the specified annotations.
Helper extension to check if a property has the specified annotation.
Helper extension to check if a property has any of the specified annotations.