Code cleanup

This commit is contained in:
Alexey Tsvetkov
2015-10-19 19:14:40 +03:00
parent 6f96484e1f
commit e9e42b0251
10 changed files with 17 additions and 51 deletions
@@ -33,7 +33,6 @@ private val NATIVE_ANNOTATION_CLASS_NAME = FqName("kotlin.jvm.native")
public fun DeclarationDescriptor.hasNativeAnnotation(): Boolean {
return this is FunctionDescriptor && this.isExternal
|| this is PropertyAccessorDescriptor && this.isExternal
|| annotations.findAnnotation(NATIVE_ANNOTATION_CLASS_NAME) != null
}