Skip to content

fix: use real parameter names in method detail pane#107

Open
abanchev wants to merge 3 commits intobobbylight:masterfrom
abanchev:fix/method-info-param-names
Open

fix: use real parameter names in method detail pane#107
abanchev wants to merge 3 commits intobobbylight:masterfrom
abanchev:fix/method-info-param-names

Conversation

@abanchev
Copy link

@abanchev abanchev commented Mar 7, 2026

Summary

  • appendParamDescriptors() in MethodInfo was hardcoding generic names (param0, param1, ...) instead of reading actual parameter names from class file debug info via getParameterName()
  • Now uses real names when available, falling back to paramN only when debug info is absent

Before / After

  • Before: Detail pane shows float random(float param0, float param1)
  • After: Detail pane shows float random(float min, float max)

Test plan

  • Verified with classes compiled with debug info — real names appear
  • Verified fallback still works for classes without debug info

bobbylight and others added 3 commits January 5, 2026 21:37
appendParamDescriptors() was hardcoding generic names (param0, param1)
instead of reading actual parameter names from class file debug info
via getParameterName(). Now falls back to paramN only when debug info
is not available.
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.

2 participants