Add no_default_methods attribute and the associated lint

Fix #14220.
Agreed. Either in this message, or in an associated note.