Compute a Java function's signature
问题 Is there a way to compute a Java class's method's signature? A signature like ([Ljava/lang/String;)V represents a function that takes a String[] as argument and returns void . What's the rule to compute the signature? 回答1: It's always a set of parentheses enclosing type signifiers for the arguments, one after the other with no commas or anything, followed by a type signifier for the return value after the closing paren. It's pretty straightforward. There's a table of type signatures on this