Some examples of spoon usages.
This project give some analysis and transformation processors used by the open-source project, Spoon.
You can see these processors in the source code of this project in:
src/main/java/fr/inria/gforge/spoon/analysis
for analysis processors.src/main/java/fr/inria/gforge/spoon/transformations
for transformation processors.
And its tests in the test folder with an usage of spoon with processors.
You can test the project with a mvn test
command on the root of the project (parent module) to execute all examples (all test classes).
For more information about Spoon, you can go its GitHub repository.