toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec
/
ClassSpec
/
ClassSpecBuilder
Class
Spec
Builder
class
ClassSpecBuilder
(
source
)
Members
Properties
access
Modifier
Link copied to clipboard
var
accessModifier
:
AccessModifier
constructors
Link copied to clipboard
val
constructors
:
MutableList
<
ConstructorSpec
>
fields
Link copied to clipboard
val
fields
:
MutableList
<
FieldSpec
>
is
Abstract
Link copied to clipboard
var
isAbstract
:
Boolean
is
Final
Link copied to clipboard
var
isFinal
:
Boolean
methods
Link copied to clipboard
val
methods
:
MutableList
<
MethodSpec
>
name
Link copied to clipboard
var
name
:
Identifier
?
Functions
abstract
Link copied to clipboard
fun
abstract
(
isAbstract
:
Boolean
=
true
)
:
ClassSpec.ClassSpecBuilder
access
Modifier
Link copied to clipboard
fun
accessModifier
(
accessModifier
:
AccessModifier
)
:
ClassSpec.ClassSpecBuilder
add
Constructor
Link copied to clipboard
fun
addConstructor
(
constructor
:
ConstructorSpec
)
:
ClassSpec.ClassSpecBuilder
add
Field
Link copied to clipboard
fun
addField
(
field
:
FieldSpec
)
:
ClassSpec.ClassSpecBuilder
add
Method
Link copied to clipboard
fun
addMethod
(
method
:
MethodSpec
)
:
ClassSpec.ClassSpecBuilder
build
Link copied to clipboard
fun
build
(
)
:
ClassSpec
final
Link copied to clipboard
fun
final
(
isFinal
:
Boolean
=
true
)
:
ClassSpec.ClassSpecBuilder
name
Link copied to clipboard
fun
name
(
name
:
Identifier
)
:
ClassSpec.ClassSpecBuilder