簡體   English   中英

Groovy中的Method和MetaMethod有什么區別?

[英]What is the difference between a Method and MetaMethod in Groovy?

此處的API文檔: http : //groovy.codehaus.org/api/groovy/lang/MetaMethod.html

按照以下說明解釋MetaMethod:

[A MetaMethod]表示Java對象上的Method類似於Method,只是不使用反射來調用該方法

文檔“調用不使用反射的方法 ”到底是什么意思?

我找不到參考資料,但我想我在他們使用Reflectors地方讀過。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM