There are several reasons for a method not to have a method body:

Noncompliant Code Example

func doNothing() { // Noncompliant
}

Compliant Solution

func doNothing() {
  // Do nothing because of X and Y.
}