INRIA / INRIA/spoon

Method signature returned by SPOON is not as the same format as Java VM Type Signatures!

Open
#4,026 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

```
Set curMethodSet = ctClass.getMethods();
for (CtMethod method : curMethodList) {
String methodSign = method.getSignature();
System.out.println(methodSign);
}
```

I am trying to print the method signature but the signature return by spoon is not as the same format as the Java method signatures. Am I doing something wrong? How can I collect the method signatures in the correct format?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.