toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.bytecode.utils
/
com.shakelang.shake.bytecode.interpreter.generator
/
ClassGenerationContext
Class
Generation
Context
class
ClassGenerationContext
(
val
parentPathBase
:
String
,
val
constantPool
:
MutableConstantPool
)
(
source
)
Members
Constructors
Class
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
fields
Link copied to clipboard
val
fields
:
MutableList
<
FieldGenerationContext
>
flags
Link copied to clipboard
var
flags
:
Short
interfaces
Link copied to clipboard
var
interfaces
:
MutableList
<
String
>
is
Abstract
Link copied to clipboard
var
isAbstract
:
Boolean
is
Annotation
Link copied to clipboard
var
isAnnotation
:
Boolean
is
Enum
Link copied to clipboard
var
isEnum
:
Boolean
is
Final
Link copied to clipboard
var
isFinal
:
Boolean
is
Interface
Link copied to clipboard
var
isInterface
:
Boolean
is
Object
Link copied to clipboard
var
isObject
:
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
Synthetic
Link copied to clipboard
var
isSynthetic
:
Boolean
methods
Link copied to clipboard
val
methods
:
MutableList
<
MethodGenerationContext
>
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
path
Base
Link copied to clipboard
val
pathBase
:
String
sub
Classes
Link copied to clipboard
val
subClasses
:
MutableList
<
ClassGenerationContext
>
super
Name
Link copied to clipboard
var
superName
:
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
)
Class
Link copied to clipboard
fun
Class
(
generator
:
ClassGenerationContext
.
(
)
->
Unit
)
extends
Link copied to clipboard
fun
extends
(
it
:
String
)
Field
Link copied to clipboard
fun
Field
(
generator
:
FieldGenerationContext
.
(
)
->
Unit
)
implements
Link copied to clipboard
fun
implements
(
it
:
String
)
Method
Link copied to clipboard
fun
Method
(
generator
:
MethodGenerationContext
.
(
)
->
Unit
)
to
Class
Link copied to clipboard
fun
toClass
(
pool
:
MutableConstantPool
)
:
Class
to
Mutable
Class
Link copied to clipboard
fun
toMutableClass
(
pool
:
MutableConstantPool
)
:
MutableClass