Class AbstractMethodAdapter

java.lang.Object
org.objectweb.asm.MethodVisitor
de.uzl.its.swat.instrument.AbstractMethodAdapter
Direct Known Subclasses:
ParameterMethodAdapter, SurroundingTryCatchMethodAdapter, SymbolicWrapperMethodAdapter

public abstract class AbstractMethodAdapter extends org.objectweb.asm.MethodVisitor
  • Field Summary

    Fields inherited from class org.objectweb.asm.MethodVisitor

    api, mv
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractMethodAdapter(org.objectweb.asm.MethodVisitor mv, String name, String desc)
    Constructor that calls the super from the default MethodVisitor
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    void
    handleMethodParameters(int access, PrintBox printBox)
     
    protected ArrayList<String>
    Given the string description of parameters of type (arg1arg2..argn)ret1 this method extracts the parameters
    void
    symbolicBoolean(int paramIdx)
     
    void
    symbolicByte(int paramIdx)
     
    void
    symbolicChar(int paramIdx)
     
    void
    symbolicDouble(int paramIdx)
     
    void
    symbolicFloat(int paramIdx)
     
    void
    symbolicInt(int paramIdx)
     
    void
    symbolicLong(int paramIdx)
     
    void
    symbolicLongObject(int paramIdx)
     
    void
    symbolicShort(int paramIdx)
     
    void
    symbolicString(int paramIdx)
     

    Methods inherited from class org.objectweb.asm.MethodVisitor

    getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn

    Methods inherited from class java.lang.Object

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

    • AbstractMethodAdapter

      public AbstractMethodAdapter(org.objectweb.asm.MethodVisitor mv, String name, String desc)
      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

    • splitParameters

      protected ArrayList<String> splitParameters(String desc)
      Given the string description of parameters of type (arg1arg2..argn)ret1 this method extracts the parameters
      Parameters:
      desc - The method description in standard format
      Returns:
      An ArrayList of parametes ([arg1, arg2, .., argn])
    • symbolicInt

      public void symbolicInt(int paramIdx)
    • symbolicByte

      public void symbolicByte(int paramIdx)
    • symbolicShort

      public void symbolicShort(int paramIdx)
    • symbolicLong

      public void symbolicLong(int paramIdx)
    • symbolicFloat

      public void symbolicFloat(int paramIdx)
    • symbolicDouble

      public void symbolicDouble(int paramIdx)
    • symbolicBoolean

      public void symbolicBoolean(int paramIdx)
    • symbolicChar

      public void symbolicChar(int paramIdx)
    • symbolicString

      public void symbolicString(int paramIdx)
    • symbolicLongObject

      public void symbolicLongObject(int paramIdx)
    • handleMethodParameters

      public void handleMethodParameters(int access, PrintBox printBox)
    • getDesc

      public String getDesc()
    • getName

      public String getName()
    • getConfig

      public Config getConfig()