I have a piece of kotlin code as below,
gson.fromJson<Map<String, JsonElement>>(data,
object : TypeToken<Map<String, JsonElement>>() {}.type)
Detekt
doesn't like it and complaint EmptyClassBlock - [<UnknownName>]
Is there any way I could resolve that?