toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.bytecode.tools
/
com.shakelang.shake.bytecode.tools
/
BytecodeStringGenerator
/
generate
generate
@
JvmName
(
name
=
"generateAttribute"
)
fun
generate
(
attribute
:
Attribute
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateCodeAttribute"
)
fun
generate
(
bytecode
:
CodeAttribute
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateMethod"
)
fun
generate
(
method
:
Method
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateMethods"
)
fun
generate
(
methods
:
List
<
Method
>
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateField"
)
fun
generate
(
field
:
Field
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateFields"
)
fun
generate
(
fields
:
List
<
Field
>
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateClass"
)
fun
generate
(
clazz
:
Class
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
@
JvmName
(
name
=
"generateClasses"
)
fun
generate
(
classes
:
List
<
Class
>
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
fun
generate
(
format
:
StorageFormat
,
indent
:
String
=
" "
)
:
List
<
String
>
(
source
)
fun
generate
(
)
:
List
<
String
>
(
source
)