API /
GAPI /
JDK /
jdk / Javadocs显示了Groovy添加到java类的方法.这很容易理解.
API /和gAPI /中的JavaDocs令人困惑.它们是相似的,除了API /具有不区分大小写的All Classes显示,而gAPI /具有所有类的区分大小写的显示. (区分大小写的显示器很难找到东西.)
gAPI / All Classes列表在列表末尾有四个genXXX条目(再次区分大小写),它们似乎不在API / List中.
有谁知道API /和gAPI / JavaDocs之间有什么区别?
谢谢.
解决方法 引自 Paul King on the Groovy User邮件列表总结“API” is the result of running javadoc
across all of the Java files.“gAPI” is the result of running
groovydoc across all of the Java and
Groovy files. (Historically this was
just the Groovy files but it Now runs
across both. If groovydoc was finished
we Could remove “API” altogether but
at least as of Now,javadoc has more
information in it so we keep both.)“groovy-jdk” is run across just the
“category” files like
DefaultGroovyMethods and instead of
reporting the Javadoc across the
source file reports them across the
classes which the category extends.
E.g.:DGM#join(Collection self,String
separator)will be reported as:
java.util.Collection#join(String
separator)which is how it appears to the language user.
以上是内存溢出为你收集整理的Groovy 1.8的3种JavaDocs是什么?全部内容,希望文章能够帮你解决Groovy 1.8的3种JavaDocs是什么?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)