thrifty-java-codegen
Module Contents
alltypes
Module Contents
enum
class
NullabilityAnnotationType
Module Contents
ANDROID_SUPPORT
ANDROIDX
NONE
class
ThriftyCodeGenerator
Module Contents
ThriftyCodeGenerator
(
schema
:
Schema
,
namingPolicy
:
FieldNamingPolicy
=
FieldNamingPolicy.DEFAULT
)
fun
emitFileComment
(
emitFileComment
:
Boolean
)
:
ThriftyCodeGenerator
fun
emitGeneratedAnnotations
(
annotationTypeName
:
String
?
)
:
ThriftyCodeGenerator
fun
emitParcelable
(
emitParcelable
:
Boolean
)
:
ThriftyCodeGenerator
fun
failOnUnknownEnumValues
(
failOnUnknownEnumValues
:
Boolean
)
:
ThriftyCodeGenerator
fun
generate
(
directory
:
Path
)
:
Unit
fun
generate
(
directory
:
File
)
:
Unit
fun
generate
(
appendable
:
Appendable
)
:
Unit
fun
generateTypes
(
)
:
List
<
JavaFile
>
fun
nullabilityAnnotationType
(
type
:
NullabilityAnnotationType
)
:
ThriftyCodeGenerator
fun
usingTypeProcessor
(
typeProcessor
:
TypeProcessor
)
:
ThriftyCodeGenerator
fun
withListType
(
listClassName
:
String
)
:
ThriftyCodeGenerator
fun
withMapType
(
mapClassName
:
String
)
:
ThriftyCodeGenerator
fun
withSetType
(
setClassName
:
String
)
:
ThriftyCodeGenerator
package
com.microsoft.thrifty.gen
Module Contents
enum
class
NullabilityAnnotationType
Module Contents
ANDROID_SUPPORT
ANDROIDX
NONE
class
ThriftyCodeGenerator
Module Contents
ThriftyCodeGenerator
(
schema
:
Schema
,
namingPolicy
:
FieldNamingPolicy
=
FieldNamingPolicy.DEFAULT
)
fun
emitFileComment
(
emitFileComment
:
Boolean
)
:
ThriftyCodeGenerator
fun
emitGeneratedAnnotations
(
annotationTypeName
:
String
?
)
:
ThriftyCodeGenerator
fun
emitParcelable
(
emitParcelable
:
Boolean
)
:
ThriftyCodeGenerator
fun
failOnUnknownEnumValues
(
failOnUnknownEnumValues
:
Boolean
)
:
ThriftyCodeGenerator
fun
generate
(
directory
:
Path
)
:
Unit
fun
generate
(
directory
:
File
)
:
Unit
fun
generate
(
appendable
:
Appendable
)
:
Unit
fun
generateTypes
(
)
:
List
<
JavaFile
>
fun
nullabilityAnnotationType
(
type
:
NullabilityAnnotationType
)
:
ThriftyCodeGenerator
fun
usingTypeProcessor
(
typeProcessor
:
TypeProcessor
)
:
ThriftyCodeGenerator
fun
withListType
(
listClassName
:
String
)
:
ThriftyCodeGenerator
fun
withMapType
(
mapClassName
:
String
)
:
ThriftyCodeGenerator
fun
withSetType
(
setClassName
:
String
)
:
ThriftyCodeGenerator