Skip to content

Name Java parameters from LocalVariableTable when MethodParameters is… - #160

Open
rochala wants to merge 1 commit into
default-param-markersfrom
java-param-names
Open

Name Java parameters from LocalVariableTable when MethodParameters is…#160
rochala wants to merge 1 commit into
default-param-markersfrom
java-param-names

Conversation

@rochala

@rochala rochala commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

… absent

javac only writes MethodParameters with -parameters, which most libraries and the JDK itself do not pass, so tasty-query falls back to x$0, x$1, .... The LocalVariableTable emitted by -g still names every parameter of a method with a body. Read it with ASM and match by name plus erased parameter types.

… absent

javac only writes MethodParameters with -parameters, which most libraries and
the JDK itself do not pass, so tasty-query falls back to x$0, x$1, .... The
LocalVariableTable emitted by -g still names every parameter of a method with
a body. Read it with ASM and match by name plus erased parameter types.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant