문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top