This section tells you how to add new analyses and transformations to JTransformer.
As a sample scenario, we show you how to find all
System.out.println calls and replace them with calls to some logging API by
Then the tutorial shows you how you can use two additional features of JTransformer:
- Source Templates for Conditions and Transformations: Simplify writing of analyses and transformations by adjusting source code templates.
- Handling Incomplete Programs: Handling of unresolved Java elements (e.g. missing libraries) in conditions and transformations.