Skip to content

Commit 998c9a5

Browse files
committed
fix(java): resolve internal method calls using two-pass approach
When a method calls another method that is defined later in the same class, the current single-pass logic fails to find the callee method symbol and creates a stub. This commit introduces a two-pass approach within `processClass`: 1. Iterate over methods and create definitions/symbols. 2. Iterate over methods again to process method calls and resolve them against the symbols created in the first pass.
1 parent 957f720 commit 998c9a5

File tree

4 files changed

+80
-6
lines changed

4 files changed

+80
-6
lines changed

0 commit comments

Comments
 (0)