UPDATE
false
true
FIELD
TYPE
METHOD
PROTECTED
PUBLIC
DEFAULT
^.*(public|protected|private)*.+interface\s+\w+.*
/**\n
* The interface ${name}.\n
<#if element.typeParameters?has_content> * \n
</#if>
<#list element.typeParameters as typeParameter>
* @param <${typeParameter.name}> the type parameter\n
</#list>
*/
^.*(public|protected|private)*.+enum\s+\w+.*
/**\n
* The enum ${name}.\n
*/
^.*(public|protected|private)*.+class\s+\w+.*
/**\n
* The type ${name}.\n
<#if element.typeParameters?has_content> * \n
</#if>
<#list element.typeParameters as typeParameter>
* @param <${typeParameter.name}> the type parameter\n
</#list>
*/
.+
/**\n
* The type ${name}.\n
*/
.+
/**\n
* Instantiates a new ${name}.\n
<#if element.parameterList.parameters?has_content>
*\n
</#if>
<#list element.parameterList.parameters as parameter>
* @param ${parameter.name} the ${paramNames[parameter.name]}\n
</#list>
<#if element.throwsList.referenceElements?has_content>
*\n
</#if>
<#list element.throwsList.referenceElements as exception>
* @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
</#list>
*/
^.*(public|protected|private)*\s*.*(\w(\s*<.+>)*)+\s+get\w+\s*\(.*\).+
/**\n
* Gets ${partName}.\n
<#if element.typeParameters?has_content> * \n
</#if>
<#list element.typeParameters as typeParameter>
* @param <${typeParameter.name}> the type parameter\n
</#list>
<#if element.parameterList.parameters?has_content>
*\n
</#if>
<#list element.parameterList.parameters as parameter>
* @param ${parameter.name} the ${paramNames[parameter.name]}\n
</#list>
<#if isNotVoid>
*\n
* @return the ${partName}\n
</#if>
<#if element.throwsList.referenceElements?has_content>
*\n
</#if>
<#list element.throwsList.referenceElements as exception>
* @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
</#list>
*/
^.*(public|protected|private)*\s*.*(void|\w(\s*<.+>)*)+\s+set\w+\s*\(.*\).+
/**\n
* Sets ${partName}.\n
<#if element.typeParameters?has_content> * \n
</#if>
<#list element.typeParameters as typeParameter>
* @param <${typeParameter.name}> the type parameter\n
</#list>
<#if element.parameterList.parameters?has_content>
*\n
</#if>
<#list element.parameterList.parameters as parameter>
* @param ${parameter.name} the ${paramNames[parameter.name]}\n
</#list>
<#if isNotVoid>
*\n
* @return the ${partName}\n
</#if>
<#if element.throwsList.referenceElements?has_content>
*\n
</#if>
<#list element.throwsList.referenceElements as exception>
* @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
</#list>
*/
^.*((public\s+static)|(static\s+public))\s+void\s+main\s*\(\s*String\s*(\[\s*\]|\.\.\.)\s+\w+\s*\).+
/**\n
* The entry point of application.\n
<#if element.parameterList.parameters?has_content>
*\n
</#if>
* @param ${element.parameterList.parameters[0].name} the input arguments\n
<#if element.throwsList.referenceElements?has_content>
*\n
</#if>
<#list element.throwsList.referenceElements as exception>
* @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
</#list>
*/
.+
/**\n
* ${name}<#if isNotVoid> ${return}</#if>.\n
<#if element.typeParameters?has_content> * \n
</#if>
<#list element.typeParameters as typeParameter>
* @param <${typeParameter.name}> the type parameter\n
</#list>
<#if element.parameterList.parameters?has_content>
*\n
</#if>
<#list element.parameterList.parameters as parameter>
* @param ${parameter.name} the ${paramNames[parameter.name]}\n
</#list>
<#if isNotVoid>
*\n
* @return the ${return}\n
</#if>
<#if element.throwsList.referenceElements?has_content>
*\n
</#if>
<#list element.throwsList.referenceElements as exception>
* @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
</#list>
*/
^.*(public|protected|private)*.+static.*(\w\s\w)+.+
/**\n
* The constant ${element.getName()}.\n
*/
^.*(public|protected|private)*.*(\w\s\w)+.+
/**\n
<#if element.parent.isInterface()>
* The constant ${element.getName()}.\n
<#else>
* The ${name}.\n
</#if> */
.+
/**\n
<#if element.parent.isEnum()>
*${name} ${typeName}.\n
<#else>
* The ${name}.\n
</#if>*/