src/checkstyle/checks/design/UnnecessaryConstructorCheck.hx
Method actualRun
length is 51 lines (max allowed is 50) Open
Open
override function actualRun() {
var classes:Array<TokenTree> = findClasses();
for (cls in classes) {
if (extendsBaseClass(cls)) continue;
if (isPosSuppressed(cls.pos)) continue;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for long methods. If a method becomes very long it is hard to understand. Therefore long methods should usually be refactored into several individual methods that focus on a specific task.