Crate jbcrs_basic

Source
Expand description

The basic module provides basic read and write capabilities.

Structs§

AccessFlags
The access flags of a part of the class
Annotation
BootstrapMethod
Class
A java class file.
Exception
Export
Field
A field.
InnerClass
LineNumber
LocalVariable
An entry of the LocalVariableTable
LocalVariableTarget
LocalVariableType
An entry of the LocalVariableTypeTable
Method
A method.
MethodParameter
Opening
Pool
The constant pool found in every java class file. It is used to have fast lookup for entries and small files. Removing or modifying items is not allowed to respect already ‘used’ indices or to prevent rehashing of the underlying HashMap.
PoolIter
Iterates over all the elements in the constant pool It basically is a filter with a different name
Provider
Requirement
TypeAnnotation
TypePathElement

Enums§

ArrayType
Attribute
An Attribute.
ElementValue
Error
Instruction
Item
A constant pool item
ReferenceKind
StackMapFrame
TargetType
TypePathKind
VerificationType

Constants§

MAGIC
The first 4 bytes of every java class file

Functions§

parse
Parses the class file, which is represented as a byte array. The constant pool and the class is returned, if no error occurred.
write
Writes a constant pool and class to a byte vector