Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Param names not correctly retrieved #79

Open
lukehutch opened this issue Jan 16, 2025 · 1 comment
Open

Param names not correctly retrieved #79

lukehutch opened this issue Jan 16, 2025 · 1 comment

Comments

@lukehutch
Copy link

ParameterInfo has a getName() method, but it does not return the parameter name, even if javac was invoked with the -parameters switch (which preserves parameter names in the generated class bytecode). The names that the procyon reflections library returns are always p0 etc.

However, if I use the regular Java reflection API, I do get the correct parameter names for methods in the same compiled class.

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

No branches or pull requests

2 participants
@lukehutch and others