Provides some useful class and method adapters.
See: Description
Interface Summary | |
---|---|
TableSwitchGenerator | A code generator for switch statements. |
Class Summary | |
---|---|
AdviceAdapter | A MethodAdapter to insert before, after and around advices in methods and constructors. |
AnalyzerAdapter |
A MethodAdapter that keeps track of stack map frame changes between
(int, int, Object[], int, Object[]) visitFrame calls. |
CodeSizeEvaluator | A MethodAdapter that can be used to approximate method size. |
EmptyVisitor | An empty implementation of the ASM visitor interfaces. |
GeneratorAdapter | A MethodAdapter with convenient methods to generate code. |
JSRInlinerAdapter | A MethodAdapter that removes JSR instructions and inlines the referenced subroutines. |
JSRInlinerAdapter.Subroutine | |
LocalVariablesSorter | A MethodAdapter that renumbers local variables in their order of appearance. |
Method | A named method descriptor. |
SerialVersionUIDAdder | A ClassAdapter that adds a serial version unique identifier to a class if missing. |
StaticInitMerger | A ClassAdapter that merges clinit methods into a single one. |