I have seen a linter that requires
class User {
public String getName() { ... }
}
to have a doc comment explaining what getName does and also what it returns. Before git, they sometimes needed to see who wrote it and when.