|
Lines 1332-1337
Link Here
|
| 1332 |
|
1332 |
|
| 1333 |
public static boolean hasMethodInvocationInfo(final EObject object) { |
1333 |
public static boolean hasMethodInvocationInfo(final EObject object) { |
| 1334 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
1334 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
|
|
1335 |
if(agentProxy == null){ |
| 1336 |
return false; |
| 1337 |
} |
| 1335 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
1338 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
| 1336 |
|
1339 |
|
| 1337 |
return (mode == TRCCollectionMode.EXECUTION_FULL_LITERAL |
1340 |
return (mode == TRCCollectionMode.EXECUTION_FULL_LITERAL |
|
Lines 1344-1349
Link Here
|
| 1344 |
|
1347 |
|
| 1345 |
public static boolean hasFullMethodInvocationInfo(final EObject object) { |
1348 |
public static boolean hasFullMethodInvocationInfo(final EObject object) { |
| 1346 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
1349 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
|
|
1350 |
if(agentProxy == null){ |
| 1351 |
return false; |
| 1352 |
} |
| 1347 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
1353 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
| 1348 |
return mode == TRCCollectionMode.EXECUTION_FULL_LITERAL |
1354 |
return mode == TRCCollectionMode.EXECUTION_FULL_LITERAL |
| 1349 |
|| mode == TRCCollectionMode.EXECUTION_NO_INSTANCES_LITERAL |
1355 |
|| mode == TRCCollectionMode.EXECUTION_NO_INSTANCES_LITERAL |
|
Lines 1353-1358
Link Here
|
| 1353 |
|
1359 |
|
| 1354 |
public static boolean hasExecutionInfo(final EObject object) { |
1360 |
public static boolean hasExecutionInfo(final EObject object) { |
| 1355 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
1361 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
|
|
1362 |
if(agentProxy == null){ |
| 1363 |
return false; |
| 1364 |
} |
| 1356 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
1365 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
| 1357 |
return mode == TRCCollectionMode.EXECUTION_FULL_LITERAL |
1366 |
return mode == TRCCollectionMode.EXECUTION_FULL_LITERAL |
| 1358 |
|| mode == TRCCollectionMode.HEAP_FULL_AND_EXECUTION_STATISTICS_ONLY_LITERAL |
1367 |
|| mode == TRCCollectionMode.HEAP_FULL_AND_EXECUTION_STATISTICS_ONLY_LITERAL |
|
Lines 1365-1370
Link Here
|
| 1365 |
|
1374 |
|
| 1366 |
public static boolean hasHeapInfo(final EObject object) { |
1375 |
public static boolean hasHeapInfo(final EObject object) { |
| 1367 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
1376 |
TRCAgentProxy agentProxy = getAgentProxy(object); |
|
|
1377 |
if(agentProxy == null){ |
| 1378 |
return false; |
| 1379 |
} |
| 1368 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
1380 |
TRCCollectionMode mode = agentProxy.getCollectionMode(); |
| 1369 |
return mode == TRCCollectionMode.HEAP_FULL_LITERAL |
1381 |
return mode == TRCCollectionMode.HEAP_FULL_LITERAL |
| 1370 |
|| mode == TRCCollectionMode.HEAP_FULL_AND_EXECUTION_STATISTICS_ONLY_LITERAL |
1382 |
|| mode == TRCCollectionMode.HEAP_FULL_AND_EXECUTION_STATISTICS_ONLY_LITERAL |