Class ImportAnnotationClassVisitor

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

class ImportAnnotationClassVisitor extends org.objectweb.asm.ClassVisitor
Scan a class for native methods with Import annotations.
  • Field Details

  • Constructor Details

    • ImportAnnotationClassVisitor

      ImportAnnotationClassVisitor(String className, Map<String,ImportAnnotation> annotations)
      Create an instance.
      Parameters:
      className - the name of the class in the internal form of fully qualified class. For example, "java/util/List".
      annotations - container for found annotations, key is method name with signature
  • Method Details

    • visitMethod

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