fixed trace instrumentation of static methods and directly recursive

trace instrumentation

Change-Id: I54ed68b71b897af90d7d22219d993d306f28d53a
Signed-off-by: Alexander Wert <alexander.wert@sap.com>