Methods are considered empty if they are empty themselves and if they are overridden or
implemented by empty methods only. Note that methods containing only comments and the super()
call with own parameters are
also considered empty.
The inspection ignores methods with special annotations, for example, the javax.ejb.Init
and javax.ejb.Remove
EJB annotations .
The quick-fix safely removes unnecessary methods.
Configure the inspection: