Community
Participate
Working Groups
Iterator i = m.getInvocations().iterator();
while(i.hasNext())
{
TRCMethodInvocation mi = ((TRCMethodInvocation)i.next()).getInvokedBy();
TRCMethodInvocation childMi = (TRCMethodInvocation)i.next();
TRCMethodInvocation mi = childMi.getInvokedBy();
if(mi != null && mi.getMethod().equals(selection)) {
if (mi instanceof TRCAggregatedMethodInvocation) {
if (childMi instanceof TRCAggregatedMethodInvocation) {
nb += ((TRCAggregatedMethodInvocation) mi).getCount();
nb += ((TRCAggregatedMethodInvocation) childMi).getCount();
}
else {
nb++;