Example
class
ClassA
{
ClassA () {
}
void
methodA () {
}
}
Solution
Use the
@post
Javadoc tag in
package-private
method Javadoc comments.
class
ClassA
{
ClassA () {
}
/**
* @post the post condition goes here
*/
void
methodA () {
}
}