Optimize Java projects for size.
- Parse Java .class and build a dependency tree.
- Create a call-graph, starting from the main function.
- Perform dead-method optimization, removing methods which are never called.
- Remove unused classes entirely.
Optimize Java projects for size.