Skip to main content

Module model

Module model 

Source
Expand description

Borrowed views over class-file metadata, instructions, and constant-pool entries. Borrowed views over data decoded from a Java class file.

The types in this module expose immutable information owned by a Class. Iterators and references returned from a class, field, or method are valid only while that owner is alive.

Structs§

ByteOffset
A byte offset within a method’s Code attribute.
Class
A complete, decoded Java class file.
ClassVersion
The minor and major version numbers stored in a class-file header.
ConstantPoolIndex
An index into a class file’s constant-pool table.
Disassembly
The outcome of parsing one class-file input.
ExceptionHandler
One protected bytecode range and its exception handler.
Field
A borrowed view of a field declaration.
Instruction
A borrowed JVM instruction paired with its original bytecode offset.
Method
A borrowed view of a method declaration and its optional code.
StackMapFrame
A borrowed view of one StackMapTable frame.
SwitchTarget
A switch or branch target represented as both relative and absolute offsets.
VerificationTypes
A borrowed sequence of verification types in a stack-map frame.

Enums§

ConstantRef
A borrowed view of one constant-pool entry.
InstructionOperand
A decoded JVM instruction operand.
LdcValueRef
A value loaded by an LDC-family instruction.
MemberReference
A field or method reference used by an instruction.
StackMapFrameKind
Encoding form of a StackMapFrame.
VerificationType
A verification type stored in a StackMapTable frame.