toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec
/
MethodSpec
/
MethodSpecBuilder
Method
Spec
Builder
class
MethodSpecBuilder
(
source
)
Members
Properties
access
Modifier
Link copied to clipboard
var
accessModifier
:
AccessModifier
body
Link copied to clipboard
var
body
:
CodeSpec
?
is
Abstract
Link copied to clipboard
var
isAbstract
:
Boolean
is
Final
Link copied to clipboard
var
isFinal
:
Boolean
is
Native
Link copied to clipboard
var
isNative
:
Boolean
is
Override
Link copied to clipboard
var
isOverride
:
Boolean
is
Static
Link copied to clipboard
var
isStatic
:
Boolean
is
Synchronized
Link copied to clipboard
var
isSynchronized
:
Boolean
name
Link copied to clipboard
var
name
:
Identifier
?
parameters
Link copied to clipboard
val
parameters
:
MutableList
<
ParameterSpec
>
return
Type
Link copied to clipboard
var
returnType
:
Type
?
Functions
abstract
Link copied to clipboard
fun
abstract
(
isAbstract
:
Boolean
=
true
)
:
MethodSpec.MethodSpecBuilder
access
Modifier
Link copied to clipboard
fun
accessModifier
(
accessModifier
:
AccessModifier
)
:
MethodSpec.MethodSpecBuilder
add
Parameter
Link copied to clipboard
fun
addParameter
(
parameter
:
ParameterSpec
)
:
MethodSpec.MethodSpecBuilder
body
Link copied to clipboard
fun
body
(
body
:
CodeSpec
)
:
MethodSpec.MethodSpecBuilder
build
Link copied to clipboard
fun
build
(
)
:
MethodSpec
final
Link copied to clipboard
fun
final
(
isFinal
:
Boolean
=
true
)
:
MethodSpec.MethodSpecBuilder
name
Link copied to clipboard
fun
name
(
name
:
Identifier
)
:
MethodSpec.MethodSpecBuilder
native
Link copied to clipboard
fun
native
(
isNative
:
Boolean
=
true
)
:
MethodSpec.MethodSpecBuilder
override
Link copied to clipboard
fun
override
(
isOverride
:
Boolean
=
true
)
:
MethodSpec.MethodSpecBuilder
return
Type
Link copied to clipboard
fun
returnType
(
returnType
:
Type
)
:
MethodSpec.MethodSpecBuilder
static
Link copied to clipboard
fun
static
(
isStatic
:
Boolean
=
true
)
:
MethodSpec.MethodSpecBuilder
synchronized
Link copied to clipboard
fun
synchronized
(
isSynchronized
:
Boolean
=
true
)
:
MethodSpec.MethodSpecBuilder