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:
-2
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user