src/checkstyle/checks/whitespace/ExtendedEmptyLinesCheck.hx
Method checkClass
length is 53 lines (max allowed is 50) Open
Open
function checkClass(emptyLines:ListOfEmptyLines, typeToken:TokenTree) {
var places:Array<EmptyLinesPlace> = [
BEGIN_CLASS,
END_CLASS,
BETWEEN_CLASS_METHODS,
- 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.