toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec
/
ObjectSpec
/
ObjectSpecBuilder
Object
Spec
Builder
class
ObjectSpecBuilder
(
source
)
Members
Properties
access
Modifier
Link copied to clipboard
var
accessModifier
:
AccessModifier
fields
Link copied to clipboard
val
fields
:
MutableList
<
FieldSpec
>
methods
Link copied to clipboard
val
methods
:
MutableList
<
MethodSpec
>
name
Link copied to clipboard
var
name
:
Identifier
?
Functions
access
Modifier
Link copied to clipboard
fun
accessModifier
(
accessModifier
:
AccessModifier
)
:
ObjectSpec.ObjectSpecBuilder
add
Field
Link copied to clipboard
fun
addField
(
field
:
FieldSpec
)
:
ObjectSpec.ObjectSpecBuilder
add
Method
Link copied to clipboard
fun
addMethod
(
method
:
MethodSpec
)
:
ObjectSpec.ObjectSpecBuilder
build
Link copied to clipboard
fun
build
(
)
:
ObjectSpec
name
Link copied to clipboard
fun
name
(
name
:
Identifier
)
:
ObjectSpec.ObjectSpecBuilder