Add no_default_methods attribute and the associated lint

Fix #14220.
This should mention the names of the missing methods somewhere.