templates.mxbean.mxbean.interface.class.vm Maven / Gradle / Ivy
The newest version!
#parse( "${include}/header.include.vm" )
#parse("${include}/generic.include.vm")
#set ( $refName = "${sourceinfo.refClass.simpleName}")
#set ( $className ="${refName}MXBean")
$codewriter.setCurrentJavaFilename("$pkg", "${className}.java")
## 读取源码注释
#set ($refDoc = $JavadocReader.read(${sourceinfo.refClass}))
package $pkg;
#outputImports()
/**
$!{refDoc.getClassComment(false,true,true)}##
* {@link #typeName(${sourceinfo.refClass})}对应的MXBean接口
* $GENERAED_BY
*
*/
public interface ${className}{
#foreach ($method in $TOOL.sortBySignature($methods))
$!{refDoc.getMethodComment($method.delegate())}##
#set ($declaredExceptions = $TOOL.sortByName($method.genericExceptionTypeSet))
#set ($throwExceptions = $declaredExceptions)
public#defineTypeVariables($method) #typeName($method.genericReturnType) ${method.name}(#paramsDefine($method)) #fillThrows($throwExceptions);
#end##foreach
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy