Class SimpleClassNode

java.lang.Object
org.objectweb.asm.ClassVisitor
org.objectweb.asm.tree.ClassNode
com.offbynull.coroutines.instrumenter.asm.SimpleClassNode

public final class SimpleClassNode extends org.objectweb.asm.tree.ClassNode
A ClassNode that overrides visitMethod(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String[]) such that it uses JSRInlinerAdapter to inline JSR blocks in the class. Try-catch-finally in earlier versions of Java use the JSR opcode, which may end up causing problems during analysis.
  • Field Summary

    Fields inherited from class org.objectweb.asm.tree.ClassNode

    access, attrs, fields, innerClasses, interfaces, invisibleAnnotations, invisibleTypeAnnotations, methods, module, name, nestHostClass, nestMembers, outerClass, outerMethod, outerMethodDesc, permittedSubclasses, recordComponents, signature, sourceDebug, sourceFile, superName, version, visibleAnnotations, visibleTypeAnnotations

    Fields inherited from class org.objectweb.asm.ClassVisitor

    api, cv
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a SimpleClassNode object.
  • 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.tree.ClassNode

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

    Methods inherited from class org.objectweb.asm.ClassVisitor

    getDelegate

    Methods inherited from class java.lang.Object

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

    • SimpleClassNode

      public SimpleClassNode()
      Constructs a SimpleClassNode object.
  • 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.tree.ClassNode