Skip to content

[java] Add Javadoc parsing #4325

@adangel

Description

@adangel
  • What:
    • Add a javadoc parser to Java
    • Add a sample Javadoc rule
  • Why:
    • Some rules implement ad-hoc javadoc parsing, which could be removed
    • From what I've measured, using regex to find javadoc tags is orders of magnitude slower than actually parsing the javadoc
    • Many useful rules for the documentation category can be written with this infrastructure
    • Could be a base for a PoC for [core] RFC: Analyzing embedded snippets from other languages #237

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions