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

Add ClassInfo.method(String, List<Type>) #359

Closed
gsmet opened this issue Apr 24, 2024 · 2 comments · Fixed by #360
Closed

Add ClassInfo.method(String, List<Type>) #359

gsmet opened this issue Apr 24, 2024 · 2 comments · Fixed by #360
Assignees
Milestone

Comments

@gsmet
Copy link
Contributor

gsmet commented Apr 24, 2024

Given MethodInfo#args() (which returned an array) is deprecated and it's recommended to use MethodInfo#parameterTypes() (which returns a List), I wonder if it could be a good idea to introduce ClassInfo.method(String, List<Type>) so that we can easily look for a similar method in another class without having to transform the List to an array?

@Ladicek
Copy link
Collaborator

Ladicek commented Apr 24, 2024

Makes sense!

@Ladicek Ladicek self-assigned this Apr 24, 2024
@Ladicek Ladicek added this to the 3.1.8 milestone Apr 24, 2024
@gsmet
Copy link
Contributor Author

gsmet commented Apr 24, 2024

That was fast, thanks @Ladicek !

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 a pull request may close this issue.

2 participants