add isKotlinSourceElement method to Source interface in order to recognize kotlin source elements during compilation

This commit is contained in:
Michael Nedzelsky
2015-09-21 22:08:17 +03:00
parent bcd85aa30d
commit c342f6870a
6 changed files with 21 additions and 2 deletions
@@ -19,5 +19,6 @@ package org.jetbrains.kotlin.load.kotlin
import org.jetbrains.kotlin.descriptors.SourceElement
public class KotlinJvmBinarySourceElement(public val binaryClass: KotlinJvmBinaryClass) : SourceElement {
override fun isKotlinSourceElement(): Boolean = false
override fun toString() = javaClass.name + ": " + binaryClass.toString()
}