DataClassAnnotationChecker --> DataClassDeclarationChecker
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ import org.jetbrains.kotlin.psi.KtClassOrObject
|
|||||||
import org.jetbrains.kotlin.psi.KtDeclaration
|
import org.jetbrains.kotlin.psi.KtDeclaration
|
||||||
|
|
||||||
|
|
||||||
public class DataClassAnnotationChecker : DeclarationChecker {
|
public class DataClassDeclarationChecker : DeclarationChecker {
|
||||||
override fun check(
|
override fun check(
|
||||||
declaration: KtDeclaration,
|
declaration: KtDeclaration,
|
||||||
descriptor: DeclarationDescriptor,
|
descriptor: DeclarationDescriptor,
|
||||||
@@ -49,7 +49,7 @@ abstract class TargetPlatform(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private val DEFAULT_DECLARATION_CHECKERS = listOf(
|
private val DEFAULT_DECLARATION_CHECKERS = listOf(
|
||||||
DataClassAnnotationChecker(),
|
DataClassDeclarationChecker(),
|
||||||
ConstModifierChecker,
|
ConstModifierChecker,
|
||||||
UnderscoreChecker,
|
UnderscoreChecker,
|
||||||
InlineParameterChecker,
|
InlineParameterChecker,
|
||||||
|
|||||||
Reference in New Issue
Block a user