Compute a Java function's signature

前端 未结 6 1784
傲寒
傲寒 2021-02-03 22:30

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

6条回答
  •  深忆病人
    2021-02-03 23:01

    Just run javap -s in the folder containing the .class files . It will tell you with 100% accuracy. No need to guess these things.

提交回复
热议问题