Home Reference Source

References

core

summary
public

Wrapper for a Map with keys being strings and entries being ClassInfo objects.

public

Utility class for loading JVM Class Files into ClassInfo objects.

public

C Jar

Wrapper around a Java Archive file.

core/io/writers

summary
public

Writes a ClassInfo object to a buffer and verifies that its attributes are valid.

core/jvm

summary
public

Wraps JVM Class File Attributes for Classes, Methods and Fields.

public

A wrapper for the JVM Class File format with helper methods for adding and removing members from it.

public

Wrapper around the JVM Class File's Constant Pool table.

It provides simplified access to the elements contained in the Constant Pool while.

public

Wrapper for JVM Class File field entry.

public

Abstract class for extracting the same functionality between the FieldInfo, MethodInfo, and ClassInfo classes.

public

Wrapper for JVM Class File method entry.

public

Helper class for LookupSwitchInstruction for mapping switch case matches and offsets.

public

Parses the parameter types from a method description.

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

V Flags: AccessFlags

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

core/jvm/instructions

summary
public

Factory class for creating an instruction by its opcode and instruction index inside a Code attribute.

public
public

F getInstructionType(opcode: *): *

public
public

V InstructionTypes: Object<string, AbstractInstruction>

public
public
public

V OPCODE_VERSIONS: {"51": *}

core/jvm/verify

summary
public

Utility class for verifying that all methods for a given class do not use instructions that are not available in their Java SE runtime.

core/parsers

summary
public

Wraps Node's Buffer class by providing smart defaults specific to the JVM's binary format.

public

F parseInstructions(method: MethodInfo): Array<AbstractInstructions>

Parses the instructions from a given MethodInfo's JVMCodeAttribute.

public
public
public
public
public
public

Number of bytes taken up by an 8bit Integer.

public

Number of bytes taken up by a 32bit Integer.

public

Number of bytes taken up by a 16bit Integer.

errors

summary
public
public

V Parsing: {"InvalidClassFileFormat": *}

public

V Writing: {"UnsupportedOpcode": *}

ioc

summary
public
public

util

summary
public
public

C Timer

visitor

summary
public
public