openrewrite / rewrite-analysis

OpenRewrite recipes for data flow analysis.
Apache License 2.0
7 stars 8 forks source link

POC: Create a Trait-Based Model for the AST #1

Closed JLLeitschuh closed 1 year ago

JLLeitschuh commented 1 year ago

This AST allows API users to ask higher-level questions of the AST without requiring custom cursor traversal and visitors.

Questions like:

Future questions that could be asked are things like:

The model for the traits matches, as closely as possible, CodeQL's