docs/io.github.mkohm.detekt.hint.rules/-lack-of-cohesion-methods/visit-class.md
---
title: LackOfCohesionMethods.visitClass -
---
[io.github.mkohm.detekt.hint.rules](../index.html) / [LackOfCohesionMethods](index.html) / [visitClass](./visit-class.html)
# visitClass
`fun visitClass(klass: KtClass): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)