Just above the method, type / **
and then press Enter to generate the javadoc.
Suppose you have the following method:
private Integer add(Integer first, Integer second){
return first + second;
}
Type / **
/**
private Integer add(Integer first, Integer second){
return first + second;
}
When you press enter
/**
*
* @param first
* @param second
* @return
*/
private Integer add(Integer first, Integer second){
return first + second;
}
javadoc is inserted.
Recommended Posts