de.uka.ipd.sdq.ByCounter.instrumentation
Class TracingCharacterisationHook

java.lang.Object
  extended by de.uka.ipd.sdq.ByCounter.instrumentation.TracingCharacterisationHook
All Implemented Interfaces:
ICharacterisationHook

public final class TracingCharacterisationHook
extends java.lang.Object
implements ICharacterisationHook

Tracing Hook for debugging purposes.

Since:
0.1
Version:
1.2
Author:
Martin Krogmann, Michael Kuperberg

Constructor Summary
TracingCharacterisationHook()
           
 
Method Summary
 void methodCallHook(MethodCountMethodAdapter methodCountMethodAdapter, InstrumentationParameters instrumentationParameters, int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc)
          Called on method invocations.
 void methodReturnHook(MethodCountMethodAdapter methodCountMethodAdapter, InstrumentationParameters instrumentationParameters)
          TODO explain method and its parameters
 void methodStartHook(MethodCountMethodAdapter methodCountMethodAdapter, InstrumentationParameters instrumentationParameters, int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
          Called on method entry.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TracingCharacterisationHook

public TracingCharacterisationHook()
Method Detail

methodCallHook

public void methodCallHook(MethodCountMethodAdapter methodCountMethodAdapter,
                           InstrumentationParameters instrumentationParameters,
                           int opcode,
                           java.lang.String owner,
                           java.lang.String name,
                           java.lang.String desc)
Description copied from interface: ICharacterisationHook
Called on method invocations. TODO explain parameters

Specified by:
methodCallHook in interface ICharacterisationHook
opcode - Method call opcode.
owner - The class/interface on which the method is invoked.
name - The name of the method.
desc - The descriptor of the method.

methodReturnHook

public void methodReturnHook(MethodCountMethodAdapter methodCountMethodAdapter,
                             InstrumentationParameters instrumentationParameters)
Description copied from interface: ICharacterisationHook
TODO explain method and its parameters

Specified by:
methodReturnHook in interface ICharacterisationHook

methodStartHook

public void methodStartHook(MethodCountMethodAdapter methodCountMethodAdapter,
                            InstrumentationParameters instrumentationParameters,
                            int access,
                            java.lang.String name,
                            java.lang.String desc,
                            java.lang.String signature,
                            java.lang.String[] exceptions)
Description copied from interface: ICharacterisationHook
Called on method entry. TODO explain parameters

Specified by:
methodStartHook in interface ICharacterisationHook