KotlinSignature markers do not fail in case of enum in sources

Refactor to make all KotlinSignature intention share some logic