Uses of Class
org.datanucleus.enhancer.asm.Context
Packages that use Context
Package
Description
ASM : a small and fast bytecode manipulation framework.
-
Uses of Context in org.datanucleus.enhancer.asm
Methods in org.datanucleus.enhancer.asm with parameters of type ContextModifier and TypeMethodDescriptionprivate void
ClassReader.computeImplicitFrame
(Context context) Computes the implicit frame of the method currently being parsed (as defined in the givenContext
) and stores it in the given context.private void
ClassReader.readCode
(MethodVisitor methodVisitor, Context context, int codeOffset) Reads a JVMS 'Code' attribute and makes the given visitor visit it.private int
ClassReader.readField
(ClassVisitor classVisitor, Context context, int fieldInfoOffset) Reads a JVMS field_info structure and makes the given visitor visit it.private int
ClassReader.readMethod
(ClassVisitor classVisitor, Context context, int methodInfoOffset) Reads a JVMS method_info structure and makes the given visitor visit it.private void
ClassReader.readModuleAttributes
(ClassVisitor classVisitor, Context context, int moduleOffset, int modulePackagesOffset, String moduleMainClass) Reads the Module, ModulePackages and ModuleMainClass attributes and visit them.private void
ClassReader.readParameterAnnotations
(MethodVisitor methodVisitor, Context context, int runtimeParameterAnnotationsOffset, boolean visible) Reads a Runtime[In]VisibleParameterAnnotations attribute and makes the given visitor visit it.private int
ClassReader.readRecordComponent
(ClassVisitor classVisitor, Context context, int recordComponentOffset) Reads a record component and visit it.private int
ClassReader.readStackMapFrame
(int stackMapFrameOffset, boolean compressed, boolean expand, Context context) Reads a JVMS 'stack_map_frame' structure and stores the result in the givenContext
object.private int[]
ClassReader.readTypeAnnotations
(MethodVisitor methodVisitor, Context context, int runtimeTypeAnnotationsOffset, boolean visible) Parses a Runtime[In]VisibleTypeAnnotations attribute to find the offset of each type_annotation entry it contains, to find the corresponding labels, and to visit the try catch block annotations.private int
ClassReader.readTypeAnnotationTarget
(Context context, int typeAnnotationOffset) Parses the header of a JVMS type_annotation structure to extract its target_type, target_info and target_path (the result is stored in the given context), and returns the start offset of the rest of the type_annotation structure.