Class PatchImportClassVisitor

java.lang.Object
org.objectweb.asm.ClassVisitor
de.inetsoftware.jwebassembly.emulator.PatchImportClassVisitor

class PatchImportClassVisitor extends org.objectweb.asm.ClassVisitor
Patch all methods with Import Annotations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.objectweb.asm.ClassVisitor

    api, cv
  • Constructor Summary

    Constructors
    Constructor
    Description
    PatchImportClassVisitor(org.objectweb.asm.ClassWriter cw, Map<String,ImportAnnotation> annotations)
    Create a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.objectweb.asm.MethodVisitor
    visitMethod(int access, String name, String desc, String signature, String[] exceptions)

    Methods inherited from class org.objectweb.asm.ClassVisitor

    getDelegate, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PatchImportClassVisitor

      PatchImportClassVisitor(org.objectweb.asm.ClassWriter cw, Map<String,ImportAnnotation> annotations)
      Create a new instance.
      Parameters:
      cw - the class writer
      annotations - methods to patch, key is method name with signature
  • Method Details

    • visitMethod

      public org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
      Overrides:
      visitMethod in class org.objectweb.asm.ClassVisitor