toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.bytecode.utils
/
com.shakelang.shake.bytecode.interpreter.generator
/
MethodGenerationContext
Method
Generation
Context
class
MethodGenerationContext
(
val
parentPathBase
:
String
,
val
constantPool
:
MutableConstantPool
)
(
source
)
Members
Constructors
Method
Generation
Context
Link copied to clipboard
constructor
(
parentPathBase
:
String
,
constantPool
:
MutableConstantPool
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
attributes
Link copied to clipboard
val
attributes
:
MutableList
<
AttributeGenerationContext
>
constant
Pool
Link copied to clipboard
val
constantPool
:
MutableConstantPool
flags
Link copied to clipboard
var
flags
:
Short
is
Abstract
Link copied to clipboard
var
isAbstract
:
Boolean
is
Constructor
Link copied to clipboard
var
isConstructor
:
Boolean
is
Final
Link copied to clipboard
var
isFinal
:
Boolean
is
Native
Link copied to clipboard
var
isNative
:
Boolean
is
Private
Link copied to clipboard
var
isPrivate
:
Boolean
is
Protected
Link copied to clipboard
var
isProtected
:
Boolean
is
Public
Link copied to clipboard
var
isPublic
:
Boolean
is
Static
Link copied to clipboard
var
isStatic
:
Boolean
is
Strict
Link copied to clipboard
var
isStrict
:
Boolean
is
Synchronized
Link copied to clipboard
var
isSynchronized
:
Boolean
name
Link copied to clipboard
var
name
:
String
parent
Path
Base
Link copied to clipboard
val
parentPathBase
:
String
path
Link copied to clipboard
val
path
:
String
Functions
Attribute
Link copied to clipboard
fun
Attribute
(
generator
:
AttributeGenerationContext
.
(
)
->
Unit
)
fun
Attribute
(
name
:
String
,
data
:
ByteArray
)
attribute
Link copied to clipboard
fun
attribute
(
generator
:
AttributeGenerationContext
.
(
)
->
Unit
)
fun
attribute
(
name
:
String
,
data
:
ByteArray
)
Code
Link copied to clipboard
fun
Code
(
generator
:
CodeAttributeGenerationContext
.
(
)
->
Unit
)
code
Link copied to clipboard
fun
code
(
generator
:
CodeAttributeGenerationContext
.
(
)
->
Unit
)
to
Method
Link copied to clipboard
fun
toMethod
(
pool
:
MutableConstantPool
)
:
Method
to
Mutable
Method
Link copied to clipboard
fun
toMutableMethod
(
pool
:
MutableConstantPool
)
:
MutableMethod