code cleanup: ant, backend modules
This commit is contained in:
@@ -20,7 +20,7 @@ import org.jetbrains.kotlin.resolve.calls.model.ResolvedCall
|
||||
import org.jetbrains.org.objectweb.asm.Type
|
||||
import org.jetbrains.org.objectweb.asm.commons.InstructionAdapter
|
||||
|
||||
public trait Callable {
|
||||
public interface Callable {
|
||||
public val owner: Type
|
||||
|
||||
public val dispatchReceiverType: Type?
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import org.jetbrains.kotlin.diagnostics.DiagnosticSink
|
||||
import org.jetbrains.kotlin.extensions.ProjectExtensionDescriptor
|
||||
import org.jetbrains.kotlin.resolve.BindingContext
|
||||
|
||||
public trait ClassBuilderInterceptorExtension {
|
||||
public interface ClassBuilderInterceptorExtension {
|
||||
companion object : ProjectExtensionDescriptor<ClassBuilderInterceptorExtension>(
|
||||
"org.jetbrains.kotlin.classBuilderFactoryInterceptorExtension", javaClass<ClassBuilderInterceptorExtension>())
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ import org.jetbrains.kotlin.psi.JetClassOrObject
|
||||
import org.jetbrains.kotlin.descriptors.*
|
||||
import org.jetbrains.kotlin.resolve.*
|
||||
|
||||
public trait ExpressionCodegenExtension {
|
||||
public interface ExpressionCodegenExtension {
|
||||
companion object : ProjectExtensionDescriptor<ExpressionCodegenExtension>("org.jetbrains.kotlin.expressionCodegenExtension", javaClass<ExpressionCodegenExtension>())
|
||||
|
||||
public class Context(
|
||||
|
||||
@@ -122,7 +122,7 @@ public open class InlineLambdaSourceMapper(parent: SourceMapper, smap: SMAPAndMe
|
||||
}
|
||||
}
|
||||
|
||||
trait SourceMapper {
|
||||
interface SourceMapper {
|
||||
|
||||
val resultMappings: List<FileMapping>
|
||||
val parent: SourceMapper?
|
||||
|
||||
@@ -30,7 +30,7 @@ public class SplitPair<T: Interval>(val patchedPart: T, val newPart: T)
|
||||
|
||||
class SimpleInterval(override val startLabel: LabelNode, override val endLabel: LabelNode ) : Interval
|
||||
|
||||
trait Interval {
|
||||
interface Interval {
|
||||
val startLabel: LabelNode
|
||||
val endLabel: LabelNode
|
||||
|
||||
@@ -39,12 +39,12 @@ trait Interval {
|
||||
|
||||
}
|
||||
|
||||
trait SplittableInterval<T: Interval> : Interval {
|
||||
interface SplittableInterval<T: Interval> : Interval {
|
||||
fun split(splitBy: Interval, keepStart: Boolean): SplitPair<T>
|
||||
}
|
||||
|
||||
|
||||
trait IntervalWithHandler : Interval {
|
||||
interface IntervalWithHandler : Interval {
|
||||
val handler: LabelNode
|
||||
val type: String?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user