Package org.datanucleus.enhancer.asm
ASM : a small and fast bytecode manipulation framework.
This is repackaged from groupId="org.ow2.asm" artifactId="asm.jar" for ASM v9.4.
The only changes in the code were to fix compiler warnings.
The process to upgrade this "repackaged" ASM is as follows :-
- Open datanucleus-core in Eclipse (or equivalent IDE)
- Download and open the source code for the version of ASM that you want in Eclipse
- Copy all files from org.objectweb.asm (but not sub-packages), and paste these into org.datanucleus.enhancer.asm
- Inspect all compiler warnings in Eclipse and fix the formatting of the ASM methods to avoid ALL warnings.
- Update package.html of org.datanucleus.enhancer.asm to mention the current version of ASM that is repackaged
- Update ClassEnhancer.ASM_API_VERSION if using a new version of the ASM API
-
Interface Summary Interface Description Opcodes The JVM opcodes, access flags and array type codes. -
Class Summary Class Description AnnotationVisitor A visitor to visit a Java annotation.AnnotationWriter AnAnnotationVisitor
that generates a corresponding 'annotation' or 'type_annotation' structure, as defined in the Java Virtual Machine Specification (JVMS).Attribute A non standard class, field, method or Code attribute, as defined in the Java Virtual Machine Specification (JVMS).Attribute.Set A set of attribute prototypes (attributes with the same type are considered equal).ByteVector A dynamically extensible vector of bytes.ClassReader A parser to make aClassVisitor
visit a ClassFile structure, as defined in the Java Virtual Machine Specification (JVMS).ClassVisitor A visitor to visit a Java class.ClassWriter AClassVisitor
that generates a corresponding ClassFile structure, as defined in the Java Virtual Machine Specification (JVMS).ConstantDynamic A constant whose value is computed at runtime, with a bootstrap method.Constants Defines additional JVM opcodes, access flags and constants which are not part of the ASM public API.Context Information about a class being parsed in aClassReader
.CurrentFrame Information about the input stack map frame at the "current" instruction of a method.Edge An edge in the control flow graph of a method.FieldVisitor A visitor to visit a Java field.FieldWriter AFieldVisitor
that generates a corresponding 'field_info' structure, as defined in the Java Virtual Machine Specification (JVMS).Frame The input and output stack map frames of a basic block.Handle A reference to a field or a method.Handler Information about an exception handler.Label A position in the bytecode of a method.MethodVisitor A visitor to visit a Java method.MethodWriter AMethodVisitor
that generates a corresponding 'method_info' structure, as defined in the Java Virtual Machine Specification (JVMS).ModuleVisitor A visitor to visit a Java module.ModuleWriter AModuleVisitor
that generates the corresponding Module, ModulePackages and ModuleMainClass attributes, as defined in the Java Virtual Machine Specification (JVMS).RecordComponentVisitor A visitor to visit a record component.RecordComponentWriter Symbol An entry of the constant pool, of the BootstrapMethods attribute, or of the (ASM specific) type table of a class.SymbolTable The constant pool entries, the BootstrapMethods attribute entries and the (ASM specific) type table entries of a class.SymbolTable.Entry An entry of a SymbolTable.Type A Java field or method type.TypePath The path to a type argument, wildcard bound, array element type, or static inner type within an enclosing type.TypeReference A reference to a type appearing in a class, field or method declaration, or on an instruction. -
Exception Summary Exception Description ClassTooLargeException Exception thrown when the constant pool of a class produced by aClassWriter
is too large.MethodTooLargeException Exception thrown when the Code attribute of a method produced by aClassWriter
is too large.