openrewrite / openrewrite/rewrite-analysis

Global Data Flow: Support Polymorphism

Open
#20 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: Global Data Flow
Dominant language
Java
Stars
16
Forks
12
Avg merge
2h 26m
Merged PRs (30d)
1

Description

Currently, global data flow finds methods with exact comparisons of JavaType.Method we need to support data flow into polymorphic method calls.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the global data flow logic that finds methods through exact JavaType.Method comparisons. Investigate how polymorphic method calls are represented and where their possible targets are resolved. Done means data flow is supported for calls whose target method is polymorphic, with behavior verified by the relevant analysis tests, though no specific test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.