Add UL-annotations support

This commit is contained in:
Igor Yakovlev
2019-06-24 18:25:36 +03:00
parent 4fed624942
commit afe784e79e
5 changed files with 83 additions and 27 deletions
@@ -148,7 +148,7 @@ class IDELightClassGenerationSupport(private val project: Project) : LightClassG
}
private fun findTooComplexDeclaration(declaration: KtDeclaration): PsiElement? {
if (declaration.hasExpectModifier() || declaration.hasModifier(KtTokens.ANNOTATION_KEYWORD)) {
if (declaration.hasExpectModifier()) {
return declaration
}