This project offers a metamodel for Java call stacks, enabling dynamic analysis of Java applications directly within Moose.
This project can imports file created with the JavaCallStackExtractor project.
To load FamixCallStack into a Moose image, execute the following code:
Metacello new
baseline: 'FamixCallStack';
repository: 'github://LeoDefossez/FamixCallStack/src';
load.
You can import a call stack in two ways:
The file extension .cs is not strictly required, a .json would also work:
file := '/Path/To/.../JDIOutput.cs' asFileReference.
model := CallStackJsonReader import: file.
Simply drag the JDIOutput.cs file onto your Moose image.
Note: In this case, the file must have a .cs extension, otherwise, the import will fail.