Files
detekt/detekt-rules-documentation
Vitaly V. Pinchuk 4dd9ac4bf5 Report KDoc comments that refer to non-public properties of a class (#4768)
* Report KDoc comments that refer to encapsulated properties of a class

New rule to address the issue of breaking encapsulation principle when KDoc comments have references to encapsulated (private) properties.
Clients do not need to know the implementation details.

* Rename rule to 'KDocReferencesNonPublicProperty' and fix naming

* Set 'protected' modifier as allowed

* Improve tests

* Fix rule documentation
2022-05-22 18:11:36 +02:00
..