Fix KotlinLintTestGenerated.testParcel + extensions registrations fixes

This commit is contained in:
Igor Yakovlev
2019-09-13 16:04:52 +03:00
parent c3265a8bf0
commit 27accbb089
8 changed files with 30 additions and 26 deletions
@@ -70,12 +70,4 @@ internal fun modifyCompilerArgumentsForPlugin(
commonArguments.pluginClasspaths = newPluginClasspaths.toTypedArray()
facetSettings.compilerArguments = commonArguments
}
val KtDeclaration.isOrdinaryClass
get() = this is KtClass &&
!this.hasModifier(KtTokens.INLINE_KEYWORD) &&
!this.isAnnotation() &&
!this.isInterface()
val KtDeclaration.isAnnotated get() = this.annotationEntries.isNotEmpty()
}