wire-kotlin-generator
Module Contents
alltypes
Module Contents
class
KotlinGenerator
Module Contents
fun
generateService
(
service
:
Service
)
:
TypeSpec
fun
generateType
(
type
:
Type
)
:
TypeSpec
fun
generatedTypeName
(
type
:
Type
)
:
ClassName
@JvmStatic
@JvmName
(
"get"
)
operator
fun
invoke
(
schema
:
Schema
,
emitAndroid
:
Boolean
=
false
,
javaInterop
:
Boolean
=
false
)
:
KotlinGenerator
val
schema
:
Schema
package
com.squareup.wire.kotlin
Module Contents
class
KotlinGenerator
Module Contents
fun
generateService
(
service
:
Service
)
:
TypeSpec
fun
generateType
(
type
:
Type
)
:
TypeSpec
fun
generatedTypeName
(
type
:
Type
)
:
ClassName
@JvmStatic
@JvmName
(
"get"
)
operator
fun
invoke
(
schema
:
Schema
,
emitAndroid
:
Boolean
=
false
,
javaInterop
:
Boolean
=
false
)
:
KotlinGenerator
val
schema
:
Schema