Also regarding the `IntentionBasedInspection` clas...
# kontributors
t
Also regarding the
IntentionBasedInspection
class. Some Inspections, that are contained in the intentions folder, use this class, but at the same time it’s deprecated.
"Please do not use for new inspections. Use AbstractKotlinInspection as base class for them"
…so i did use the
AbstractKotlinInspection
class and wondering if that is the right way… https://github.com/JetBrains/kotlin/pull/2082
d
I’m not an expert in this subsystem, and relevant team member will correct you if you did something wrong, but generally,
@Deprecated
means that the new code shouldn’t use it, so no contradiction here.
👍 1
t
thanks, just wasn’t sure if i did something wrong regarding the AbstractKotlinInsepction class used for intention (localinspections)