checkstyle / checkstyle/regression-tool

ConfigGenerator: generate module parent node dynamically instead of hardcoding

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Taken from https://github.com/checkstyle/regression-tool/pull/43#discussion_r125323003

The `TreeWalker` node is hardcoding currently. We should generate these nodes dynamically. For each module, we should get its parent module via its `parent` field, and then search the parent module in the module extract info map. If there is no such parent, then throw an exception and stop the process, otherwise generate every node we need dynamically in this way.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.