title: Determine the signature of a method using SourceMethod
body: <p>In my Eclipse plugin I want to get the signature of a method from a SourceMethod object. SourceMethod has a method called getSignature that returns a String of the following form:</p>
  
  <p>(I)V</p>
  
  <p>Using this link
  <a href="http://www.rgagnon.com/javadetails/java-0286.html" rel="nofollow">http://www.rgagnon.com/javadetails/java-0286.html</a>
  I know how to parse this String. It is a method with an Integer as Parameter and void as return type. However, I'm asking myself if there isn't a better way to get the method signature?</p>