soot-oss / SootUp

A new version of Soot with a completely overhauled architecture
https://soot-oss.github.io/SootUp/
GNU Lesser General Public License v2.1
590 stars 81 forks source link

add getParameterCount for methodSignature #1131

Open Liyw979 opened 1 week ago

Liyw979 commented 1 week ago

like getParameterCount of sootmethod

swissiety commented 1 week ago

please make SootMethod use the new method as well

Liyw979 commented 1 week ago

@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?