Module io.github.sugarcubes.cloner
Package io.github.sugarcubes.cloner.bytecode
package io.github.sugarcubes.cloner.bytecode
Class files through an engine: the ClassFile API of JDK 24+ or ASM.
BytecodeBackend writes classes, reads the structure of a class and adds members
to it; CodeEmitter emits the code of methods. Depends only on the JDK
and ASM, the build tools contain a copy of it. Internal, not exported.-
ClassDescriptionAccess flags of class files (JVMS 4.1, 4.5, 4.6, 4.7.6), the same for every engine.Backend on the ASM library; loading this class needs ASM, so its availability is checked without touching this class.Engine of class files: the ClassFile API of JDK 24+ or ASM.Structure of a class file read by a
BytecodeBackend: what the cloner needs to decide about a class and to add members to it, without the code of its methods.Entry of theInnerClassesattribute.Field or method.Instructions of a method body, the subset the copier template needs.Position in the code of a method, a target of jumps; created byCodeEmitter.newLabel()of the same backend.Field of a generated class, or added to a class.Method of a generated class.