The standard doclet or any other doclet could use an API to exclude synthetic or mandated elements that should not be documented.