DeepSource Java Analyzer: Full Meta Configuration & Custom Rules

Hi DeepSource Team, :wave:

I’m configuring the Java Analyzer in DeepSource and need clarification on the full list of meta options that can be used. While I found details on java_version, build_tool, and some other settings, I want to ensure I am not missing any hidden configurations.

:one: Complete List of Java Analyzer Meta Options
Could you please provide a comprehensive list of all available meta configurations for the Java analyzer?
I’m particularly interested in any advanced options beyond the commonly documented ones.

:two: Defining Custom Rules for Java (e.g., Detect TODO Comments)
I want to add custom rules for detecting TODO comments, ensuring that developers address them before merging changes. And there are more custom rules as well.

Does DeepSource allow adding custom rules for Java?
If yes, how can we define custom linters or custom rules in deepsource.toml?
If no, is there any workaround, such as writing a custom linter or rule and integrating it with DeepSource?
It would be great if DeepSource could allow custom rule definition in the future to extend static analysis capabilities.

Looking forward to your insights!
Thanks in advance. :rocket: