docs/io.github.mkohm.detekt.hint.rules/index.md
---
title: io.github.mkohm.detekt.hint.rules -
---
[io.github.mkohm.detekt.hint.rules](./index.html)
## Package io.github.mkohm.detekt.hint.rules
### Types
| [InterfaceSegregationPrinciple](-interface-segregation-principle/index.html) | `class InterfaceSegregationPrinciple : Rule`<br>Interface segregation principle rule |
| [LackOfCohesionMethods](-lack-of-cohesion-methods/index.html) | `class LackOfCohesionMethods : Rule`<br>A rule that notifies if there is too much lack of cohesion. Remember to configure it correctly in the detekt.yml. |
| [OpenClosedPrinciple](-open-closed-principle/index.html) | `class OpenClosedPrinciple : Rule`<br>Open closed principle rule. Only supports catching the easiest cases. Not complex when expressions, with type checking and use of enums. |
| [UseCompositionInsteadOfInheritance](-use-composition-instead-of-inheritance/index.html) | `class UseCompositionInsteadOfInheritance : Rule`<br>A rule suggesting the use of composition instead of inheritance. It will help you test for Liskov Substitution. |