本文整理了Java中com.sun.codemodel.JPackage.javadoc()
方法的一些代码示例,展示了JPackage.javadoc()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPackage.javadoc()
方法的具体详情如下:
包路径:com.sun.codemodel.JPackage
类名称:JPackage
方法名:javadoc
[英]Creates, if necessary, and returns the package javadoc for this JDefinedClass.
[中]如有必要,创建并返回此JDefinedClass的包javadoc。
代码示例来源:origin: org.glassfish.metro/webservices-tools
@Override
public void visit(Service service) throws Exception {
String jd = model.getJavaDoc();
if(jd != null){
JPackage pkg = cm._package(options.defaultPackage);
pkg.javadoc().add(jd);
}
for(Port p:service.getPorts()){
visitPort(service, p);
}
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void visit(Service service) throws Exception {
String jd = model.getJavaDoc();
if(jd != null){
JPackage pkg = cm._package(options.defaultPackage);
pkg.javadoc().add(jd);
}
for(Port p:service.getPorts()){
visitPort(service, p);
}
}
代码示例来源:origin: com.sun.xml.ws/jaxws-tools
@Override
public void visit(Service service) throws Exception {
String jd = model.getJavaDoc();
if(jd != null){
JPackage pkg = cm._package(options.defaultPackage);
pkg.javadoc().add(jd);
}
for(Port p:service.getPorts()){
visitPort(service, p);
}
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void visit(Service service) throws Exception {
String jd = model.getJavaDoc();
if(jd != null){
JPackage pkg = cm._package(options.defaultPackage);
pkg.javadoc().add(jd);
}
for(Port p:service.getPorts()){
visitPort(service, p);
}
}
代码示例来源:origin: uk.org.retep.tools/jaxb
@Override
protected void customise( final Outline model,
final Options opt,
final ErrorHandler errorHandler,
final ClassOutline co,
final CPluginCustomization c )
throws SAXException
{
c.markAsAcknowledged();
JDocComment doc = co._package()._package().javadoc();
doc.append( getElementText( c.element ) );
}
}
内容来源于网络,如有侵权,请联系作者删除!