Class ParameterMethodAdapter

java.lang.Object
org.objectweb.asm.MethodVisitor
de.uzl.its.swat.instrument.AbstractMethodAdapter
de.uzl.its.swat.instrument.parameter.ParameterMethodAdapter

public class ParameterMethodAdapter extends AbstractMethodAdapter
A visitor to visit a Java method This class makes every parameter of the passed function symbolic.
  • Constructor Details

    • ParameterMethodAdapter

      public ParameterMethodAdapter(org.objectweb.asm.MethodVisitor mv, int access, String name, String desc, String signature)
      Constructor that calls the super from the default MethodVisitor
      Parameters:
      mv - Parent MethodVisitor
      name - The method name
      desc - A string description of the parameters of the method
  • Method Details

    • visitCode

      public void visitCode()
      Starts the visit of the method's code, if any (i.e. non-abstract method). Parses the methods description and makes strings and ints symbolic
      Overrides:
      visitCode in class org.objectweb.asm.MethodVisitor