public static String shortSignature(String sig){
  sig=sig.substring(1,sig.length() - 1);
  return sig.replaceAll("[a-zA-Z._]*[.]","");
}

public static String shortSignature ( String sig ) { sig = sig . substring ( 1 , sig . length ( ) - 1 ) ; return sig . replaceAll ( "[a-zA-Z._]*[.]" , "" ) ; }
return a short version of the given method signature , with the angle brackets and the package qualifiers removed .
