chore: renamed method to reflect new functioning

This commit is contained in:
zaaarf 2023-03-02 14:47:13 +01:00
parent 9b529a866c
commit 51d9375e0b
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -78,7 +78,7 @@ public class ASTUtils {
* @param m the {@link ExecutableElement} for the method * @param m the {@link ExecutableElement} for the method
* @return a {@link String} containing the relevant descriptor * @return a {@link String} containing the relevant descriptor
*/ */
public static String descriptorFromMethodSpec(ExecutableElement m) { public static String descriptorFromExecutableElement(ExecutableElement m) {
StringBuilder methodSignature = new StringBuilder(); StringBuilder methodSignature = new StringBuilder();
methodSignature.append("("); methodSignature.append("(");
m.getParameters().forEach(p -> methodSignature.append(descriptorFromType(p.asType()))); m.getParameters().forEach(p -> methodSignature.append(descriptorFromType(p.asType())));