accept only docs that are immediately above a class definition. whitespaces are allowed but no second doc block.

eg.

0)

/**
 * This is fine.
 */
class A {}

1)

/**
 * This is also fine.
 */

class A {}

2)

/**
 * This will be ignored...
 */

/**
 * This is fine again.
 */

class A {}