I have a requirement on my current project to produce uniform formatted Java Source code.
I have investigated the libraries listed here
with none of these resolving all my issues.
Required mandatory formatting
- All method args must be
final. - No line wrapping.
- All unnecessary round brackets must be removed.
The desired library must have a Java API, I do not want to deal with IDE plugins or command line invocation.
The google-java-format library is very close to what I require however it is not configurable by design.
The Eclipse IDE save actions is also close however it doesn't remove unnecessary brackets.
Are there any libraries that satisfy all my requirements?