Remove InlineRegistering interface
This commit is contained in:
+3
-2
@@ -17,7 +17,6 @@
|
||||
package org.jetbrains.kotlin.rmi.kotlinr
|
||||
|
||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.IncrementalCache
|
||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.InlineRegistering
|
||||
import org.jetbrains.kotlin.rmi.CompileService
|
||||
import java.rmi.server.UnicastRemoteObject
|
||||
|
||||
@@ -34,7 +33,9 @@ public class RemoteIncrementalCacheServer(val cache: IncrementalCache) : Compile
|
||||
|
||||
override fun getModuleMappingData(): ByteArray? = cache.getModuleMappingData()
|
||||
|
||||
override fun getInlineRegistering(): InlineRegistering = cache.getInlineRegistering()
|
||||
override fun registerInline(fromPath: String, jvmSignature: String, toPath: String) {
|
||||
cache.registerInline(fromPath, jvmSignature, toPath)
|
||||
}
|
||||
|
||||
override fun getClassFilePath(internalClassName: String): String = cache.getClassFilePath(internalClassName)
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package org.jetbrains.kotlin.rmi
|
||||
|
||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.InlineRegistering
|
||||
import org.jetbrains.kotlin.modules.TargetId
|
||||
import java.rmi.Remote
|
||||
import java.rmi.RemoteException
|
||||
@@ -39,7 +38,7 @@ public interface CompileService : Remote {
|
||||
public fun getModuleMappingData(): ByteArray?
|
||||
|
||||
throws(RemoteException::class)
|
||||
public fun getInlineRegistering(): InlineRegistering
|
||||
public fun registerInline(fromPath: String, jvmSignature: String, toPath: String)
|
||||
|
||||
throws(RemoteException::class)
|
||||
fun getClassFilePath(internalClassName: String): String
|
||||
|
||||
+4
-3
@@ -17,18 +17,19 @@
|
||||
package org.jetbrains.kotlin.rmi.service
|
||||
|
||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.IncrementalCache
|
||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.InlineRegistering
|
||||
import org.jetbrains.kotlin.rmi.CompileService
|
||||
|
||||
public class RemoteIncrementalCacheClient(val cache: CompileService.RemoteIncrementalCache): IncrementalCache {
|
||||
override fun getInlineRegistering(): InlineRegistering = cache.getInlineRegistering()
|
||||
|
||||
override fun getObsoletePackageParts(): Collection<String> = cache.getObsoletePackageParts()
|
||||
|
||||
override fun getPackagePartData(fqName: String): ByteArray? = cache.getPackagePartData(fqName)
|
||||
|
||||
override fun getModuleMappingData(): ByteArray? = cache.getModuleMappingData()
|
||||
|
||||
override fun registerInline(fromPath: String, jvmSignature: String, toPath: String) {
|
||||
cache.registerInline(fromPath, jvmSignature, toPath)
|
||||
}
|
||||
|
||||
override fun getClassFilePath(internalClassName: String): String = cache.getClassFilePath(internalClassName)
|
||||
|
||||
override fun close(): Unit = cache.close()
|
||||
|
||||
Reference in New Issue
Block a user