Documentation ¶
Index ¶
Constants ¶
const ( ArrayTypeBoolean = 4 ArrayTypeChar = 5 ArrayTypeFloat = 6 ArrayTypeDouble = 7 ArrayTypeByte = 8 ArrayTypeShort = 9 ArrayTypeInt = 10 ArrayTypeLong = 11 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ANewArray ¶
type ANewArray struct {
base_instructions.Index16Instruction
}
anewarray Create new array of reference
func (*ANewArray) Execute ¶
func (aNewArray *ANewArray) Execute(frame *runtime_data_area.Frame)
type AThrow ¶
type AThrow struct {
base_instructions.NoOperandsInstruction
}
athrow Throw exception or error
func (*AThrow) Execute ¶
func (aThrow *AThrow) Execute(frame *runtime_data_area.Frame)
type ArrayLength ¶
type ArrayLength struct {
base_instructions.NoOperandsInstruction
}
arraylength Get length of array
func (*ArrayLength) Execute ¶
func (arrayLength *ArrayLength) Execute(frame *runtime_data_area.Frame)
type CheckCast ¶
type CheckCast struct {
base_instructions.Index16Instruction
}
checkcast Check whether object is of given type
func (*CheckCast) Execute ¶
func (checkCast *CheckCast) Execute(frame *runtime_data_area.Frame)
type GetField ¶
type GetField struct {
base_instructions.Index16Instruction
}
getfield Fetch field from object
func (*GetField) Execute ¶
func (getField *GetField) Execute(frame *runtime_data_area.Frame)
type GetStatic ¶
type GetStatic struct {
base_instructions.Index16Instruction
}
getstatic Get static field from class
func (*GetStatic) Execute ¶
func (getStatic *GetStatic) Execute(frame *runtime_data_area.Frame)
type InstanceOf ¶
type InstanceOf struct {
base_instructions.Index16Instruction
}
instanceof Determine if object is of given type
func (*InstanceOf) Execute ¶
func (instanceOf *InstanceOf) Execute(frame *runtime_data_area.Frame)
type InvokeInterface ¶
type InvokeInterface struct {
// contains filtered or unexported fields
}
invokeinterface Invoke interface method
func (*InvokeInterface) Execute ¶
func (invokeInterface *InvokeInterface) Execute(frame *runtime_data_area.Frame)
func (*InvokeInterface) FetchOperands ¶
func (invokeInterface *InvokeInterface) FetchOperands(bytecodeReader *base_instructions.BytecodeReader)
type InvokeSpecial ¶
type InvokeSpecial struct {
base_instructions.Index16Instruction
}
invokespecial Invoke instance method; special handling for superclass, private, and instance initialization method invocations
func (*InvokeSpecial) Execute ¶
func (invokeSpecial *InvokeSpecial) Execute(frame *runtime_data_area.Frame)
type InvokeStatic ¶
type InvokeStatic struct {
base_instructions.Index16Instruction
}
invokestatic Invoke a class (static) method
func (*InvokeStatic) Execute ¶
func (invokeStatic *InvokeStatic) Execute(frame *runtime_data_area.Frame)
type InvokeVirtual ¶
type InvokeVirtual struct {
base_instructions.Index16Instruction
}
invokevirtual Invoke instance method; dispatch based on class
func (*InvokeVirtual) Execute ¶
func (invokeVirtual *InvokeVirtual) Execute(frame *runtime_data_area.Frame)
type MultiANewArray ¶
type MultiANewArray struct {
// contains filtered or unexported fields
}
multianewarray Create new multidimensional array
func (*MultiANewArray) Execute ¶
func (multiANewArray *MultiANewArray) Execute(frame *runtime_data_area.Frame)
func (*MultiANewArray) FetchOperands ¶
func (multiANewArray *MultiANewArray) FetchOperands(bytecodeReader *base_instructions.BytecodeReader)
type New ¶
type New struct {
base_instructions.Index16Instruction
}
new Create new object
func (*New) Execute ¶
func (new *New) Execute(frame *runtime_data_area.Frame)
type NewArray ¶
type NewArray struct {
// contains filtered or unexported fields
}
newarray Create new array
func (*NewArray) Execute ¶
func (newArray *NewArray) Execute(frame *runtime_data_area.Frame)
func (*NewArray) FetchOperands ¶
func (newArray *NewArray) FetchOperands(bytecodeReader *base_instructions.BytecodeReader)
type PutField ¶
type PutField struct {
base_instructions.Index16Instruction
}
putfield Set field in object
func (*PutField) Execute ¶
func (putField *PutField) Execute(frame *runtime_data_area.Frame)
type PutStatic ¶
type PutStatic struct {
base_instructions.Index16Instruction
}
putstatic Set static field in class
func (*PutStatic) Execute ¶
func (putStatic *PutStatic) Execute(frame *runtime_data_area.Frame)