Package de.uzl.its.swat.instrument
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
ConstructorDescriptionAbstractMethodAdapter
(org.objectweb.asm.MethodVisitor mv, String name, String desc) Constructor that calls the super from the default MethodVisitor -
Method Summary
Modifier and TypeMethodDescriptiongetDesc()
getName()
void
handleMethodParameters
(int access, PrintBox printBox) splitParameters
(String desc) Given the string description of parameters of type (arg1arg2..argn)ret1 this method extracts the parametersvoid
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
-
Constructor Details
-
AbstractMethodAdapter
Constructor that calls the super from the default MethodVisitor- Parameters:
mv
- Parent MethodVisitorname
- The method namedesc
- A string description of the parameters of the method
-
-
Method Details
-
splitParameters
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
-
getDesc
-
getName
-
getConfig
-