类的使用
cn.taketoday.bytecode.Context

使用Context的程序包
程序包
说明
CGLIB or ASM other byte code library
  • cn.taketoday.bytecodeContext的使用

    参数类型为Contextcn.taketoday.bytecode中的方法
    修饰符和类型
    方法
    说明
    private void
    ClassReader.computeImplicitFrame(Context context)
    Computes the implicit frame of the method currently being parsed (as defined in the given Context) 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 given Context 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.