The logCompilationWarningsAndErrors flag of JavaParser.Builder should be configrable.
The flag should be provided through a new property parser.logCompilationWarningsAndErrors=[true|false]
Why it needs to be done
It allows users to turn on/off logging output of JavaCompiler which can be annoying in some cases and helpful in others.
Acceptance Criteria
[ ] The flag for the JavaParser.Builder created in MavenModuleParser is taken from ParserProperties
[ ] The property and it's usage is described README
[ ] A test provided. E.g. parse the same (erronous) class twice in an integration test, once with true once with false and assert the rendered output
What needs to be done
The
logCompilationWarningsAndErrors
flag ofJavaParser.Builder
should be configrable. The flag should be provided through a new propertyparser.logCompilationWarningsAndErrors=[true|false]
Why it needs to be done
It allows users to turn on/off logging output of JavaCompiler which can be annoying in some cases and helpful in others.
Acceptance Criteria
ParserProperties
true
once withfalse
and assert the rendered outputAdditional Information