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 getParameterCount for methodSignature #1131

Merged
merged 7 commits into from
Jan 6, 2025

Conversation

Liyw979
Copy link
Contributor

@Liyw979 Liyw979 commented Nov 16, 2024

like getParameterCount of sootmethod

@swissiety
Copy link
Collaborator

please make SootMethod use the new method as well

@Liyw979
Copy link
Contributor Author

Liyw979 commented Nov 16, 2024

@swissiety Done
It makes me wonder why do we do
this.parameterTypes = ImmutableUtils.immutableListOf(methodSignature.getParameterTypes()); in SootMethod
Can we remove this to make the code simpler?

@swissiety
Copy link
Collaborator

@swissiety Done It makes me wonder why do we do this.parameterTypes = ImmutableUtils.immutableListOf(methodSignature.getParameterTypes()); in SootMethod Can we remove this to make the code simpler?

yes, this makes sense!

@Liyw979
Copy link
Contributor Author

Liyw979 commented Jan 6, 2025

SootMethod and MethodSignature now offer consistent APIs

@swissiety swissiety merged commit 88906ad into soot-oss:develop Jan 6, 2025
7 checks passed
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.

3 participants