开发者

Get method's parameters

开发者 https://www.devze.com 2022-12-21 22:48 出处:网络
Is there a way to get a method\'s parameters from outside t开发者_如何学JAVAhe method? I know that there\'s an \"arguments\" property but it\'s only accessable from within the method.

Is there a way to get a method's parameters from outside t开发者_如何学JAVAhe method? I know that there's an "arguments" property but it's only accessable from within the method. I'm working on a RPC system and need to store the method parameter types in a hash table for easy access later on.

Regards/Per


Looks to the describeType function it will return an XML with your function name and his arguments. It will not work for anonymous function.

0

精彩评论

暂无评论...
验证码 换一张
取 消