Skip to content

Commit

Permalink
Ignores methods and constructors belonging to packages containing 'ja…
Browse files Browse the repository at this point in the history
…va.' - fix
  • Loading branch information
williamniemiec committed Feb 15, 2021
1 parent 7a07711 commit 52f20e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified dist/6.x/ExecutionFlow_ConsoleExporter_v6.0.6.jar
Binary file not shown.
Binary file modified dist/6.x/ExecutionFlow_FileExporter_v6.0.6.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions src/executionflow/runtime/collector/MethodCollector.aj
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public aspect MethodCollector extends RuntimeCollector {
.invocationLine(getInvocationLine(jp))
.build();
methodInfo.setConcreteMethodSignature(getConcreteMethodSignature(jp));
System.out.println("5");

storeCollector(jp, methodInfo);
collectedMethods.add(key);

Expand Down Expand Up @@ -294,11 +294,11 @@ public aspect MethodCollector extends RuntimeCollector {
}

private void storeCollector(JoinPoint jp, InvokedInfo methodInfo) {
if (methodCollector.containsKey(getInvocationLine(jp))) {System.out.println("6");
if (methodCollector.containsKey(getInvocationLine(jp))) {
List<InvokedContainer> list = methodCollector.get(getInvocationLine(jp));
list.add(new InvokedContainer(methodInfo, testMethodInfo));
}
else { System.out.println("7");
else {
List<InvokedContainer> list = new ArrayList<>();
list.add(new InvokedContainer(methodInfo, testMethodInfo));

Expand Down

0 comments on commit 52f20e3

Please sign in to comment.