Class ParameterMethodAdapter
java.lang.Object
org.objectweb.asm.MethodVisitor
de.uzl.its.swat.instrument.AbstractMethodAdapter
de.uzl.its.swat.instrument.parameter.ParameterMethodAdapter
A visitor to visit a Java method This class makes every parameter of the passed function
symbolic.
-
Field Summary
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorDescriptionParameterMethodAdapter
(org.objectweb.asm.MethodVisitor mv, int access, String name, String desc, String signature) Constructor that calls the super from the default MethodVisitor -
Method Summary
Modifier and TypeMethodDescriptionvoid
Starts the visit of the method's code, if any (i.e.Methods inherited from class de.uzl.its.swat.instrument.AbstractMethodAdapter
getConfig, getDesc, getName, handleMethodParameters, splitParameters, symbolicBoolean, symbolicByte, symbolicChar, symbolicDouble, symbolicFloat, symbolicInt, symbolicLong, symbolicLongObject, symbolicShort, symbolicString
Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, 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
-
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 MethodVisitorname
- The method namedesc
- 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 classorg.objectweb.asm.MethodVisitor
-