Module element

Source

Structs§

AnnotationNode
BootstrapMethodAttr
ClassNode
CodeAttribute
CodeBodyNode
EnclosingMethodAttribute
ExceptionTable
FieldNode
InnerClassNode
LocalVariableNode
MethodNode
ModuleNode
ParameterNode
RecordComponentNode
TryCatchBlockNode
TypeAnnotationNode
UnknownAttribute

Enums§

Attribute

Type Aliases§

LabelNode
each label contains a unique id in the method scope. Although the Code attribute in JVMS has defined a u4 (u32 in rust) as code_length, but all of code_length’s usages in the JVM spec are u16, so we use u16 here. I don’t know why the JVM spec uses u4 in code_length, hope someone can tell me.
LineNumberNode