Pergunta

Is there a checkstyle rule that forbids the usage of the super keyword in Java? I searched on Google, but couldn't find anything. Is there an unofficial place to get such specific checkstyle rules?

Foi útil?

Solução

Checkstyle has a "RegEx" rule, which can check for lots of different things (we use it to find TODO comments).

By why would you make a rule that essentially prevents you from doing any kind polymorphism?

I'm pretty sure that the train of thought that led you to believe that you need this rule is seriously flawed.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top