Package com.tonic.analysis
Reading and writing bytecode: disassembly, editing through a code writer, and constant pool remapping.
-
Class Summary Class Description BootstrapFamilies Owner/name predicates for the JDK bootstrap-method families reachable from invokedynamic and constant-dynamic.Bootstraps Single source of truth for resolving invokedynamic/condy bootstraps from aClassFile's BootstrapMethods attribute.Bootstraps.BootstrapRef Immutable resolved view of a single bootstrap method.Bytecode High-level bytecode manipulation API.ClassFactory Generator of bytecode-backed members on a structuralClassFile- constructors, initializers, accessors, field initial values, method bodies, and StackMapTable frames.CodePrinter Bytecode disassembler for converting raw bytecode into human-readable format.CodeWriter A class for analyzing and modifying the bytecode of a MethodEntry.CodeWriter.ClonedRange A cloned instruction range.ConstPoolRemapper DisassemblyOptions Immutable flag set selecting which enrichmentsCodePrinteradds to a method disassembly, built fromDisassemblyOptions.terse()orDisassemblyOptions.verbose()and refined with thewith*copies.MethodGrafter Copies a method from oneClassFileinto another, re-resolving its constant-pool references into the target pool.