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

This reverts commit c342f6870a.
This commit is contained in:
Michael Nedzelsky
2015-09-23 17:37:12 +03:00
parent 031a42ccf4
commit 2c952dcc22
6 changed files with 2 additions and 21 deletions
@@ -23,8 +23,6 @@ import org.jetbrains.kotlin.load.java.structure.reflect.ReflectJavaElement
public object RuntimeSourceElementFactory : JavaSourceElementFactory {
private class RuntimeSourceElement(override val javaElement: ReflectJavaElement) : JavaSourceElement {
override fun isKotlinSourceElement(): Boolean = false
override fun toString() = javaClass.name + ": " + javaElement.toString()
}
@@ -18,6 +18,4 @@ package org.jetbrains.kotlin.load.kotlin.reflect
import org.jetbrains.kotlin.descriptors.SourceElement
public class ReflectAnnotationSource(public val annotation: Annotation) : SourceElement {
override fun isKotlinSourceElement(): Boolean = false
}
public class ReflectAnnotationSource(public val annotation: Annotation) : SourceElement