Skip to content

Explore idea to parse only those files present in Checkstyle report #111

@Anmol202005

Description

@Anmol202005

Problem

Recipes currently parses all files, which is slow. We only need files that appear in the checkstyle report.

proposed solution:

Use preconditions to filter files based on checkstyle report:

@Override
public TreeVisitor<?, ExecutionContext> getVisitor() {
    return Preconditions.check(
            Preconditions.not(...), // exclude files not in report
            new UpperEllVisitor()
    );
}

Need to implement proper condition logic to check against the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions