blob: 87042eb397c9edcba2be8f74aca6a434db469b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package org.jetbrains.protocolModelGenerator
import org.jetbrains.jsonProtocol.ItemDescriptor
import org.jetbrains.jsonProtocol.ProtocolMetaModel
internal interface ResolveAndGenerateScope {
fun getDomainName(): String
fun getTypeDirection(): TypeData.Direction
fun <T : ItemDescriptor> resolveType(typedObject: T): TypeDescriptor = throw UnsupportedOperationException()
open fun generateNestedObject(description: String?, properties: List<ProtocolMetaModel.ObjectProperty>?): BoxableType = throw UnsupportedOperationException()
}
|