Adjust KotlinSuppressIntentionAction to syntax with '@'

This commit is contained in:
Denis Zharkov
2015-05-06 19:38:51 +03:00
parent 849b8acbf8
commit e59a0dd0c6
80 changed files with 83 additions and 83 deletions
@@ -226,9 +226,9 @@ public class JetPsiFactory(private val project: Project) {
return createProperty(text + " val x").getModifierList()!!
}
public fun createAnnotation(text: String): JetAnnotation {
public fun createAnnotationEntry(text: String): JetAnnotationEntry {
val modifierList = createProperty(text + " val x").getModifierList()
return modifierList!!.getAnnotations().first()
return modifierList!!.getAnnotationEntries().first()
}
public fun createEmptyBody(): JetBlockExpression {