Home Reference Source

Function

Static Public Summary
public

getInstructionType(opcode: *): *

public

Parses the parameter types from a method description.

public

parseInstructions(method: MethodInfo): Array<AbstractInstructions>

Parses the instructions from a given MethodInfo's JVMCodeAttribute.

Static Public

public getInstructionType(opcode: *): * source

import {getInstructionType} from 'jvm/lib/core/jvm/instructions/Opcodes.js'

Params:

NameTypeAttributeDescription
opcode *

Return:

*

public parameterParser(desc: string): Array<string> source

import {parameterParser} from 'jvm/lib/core/jvm/MethodInfo.js'

Parses the parameter types from a method description.

Params:

NameTypeAttributeDescription
desc string

method descriptor

Return:

Array<string>

public parseInstructions(method: MethodInfo): Array<AbstractInstructions> source

import {parseInstructions} from 'jvm/lib/core/parsers/BytecodeInstructions.js'

Parses the instructions from a given MethodInfo's JVMCodeAttribute.

Params:

NameTypeAttributeDescription
method MethodInfo

Return:

Array<AbstractInstructions>