AlignmentStrategy (@NotNull ASTNode child) { IElementType childType = child.getElementType(); if (childType != JavaElementType.METHOD || child.textContains('\n')) { myAlignmentStrategy = newAlignmentStrategy(); return AlignmentStrategy.getNullStrategy(); } return myAlignmentStrategy; }