int (FormattingModel model, int offset) { SpacingImpl spacing = getSpacingBeforeBlockAtOffset(model, offset); if (spacing != null) { int minLineFeeds = spacing.getMinLineFeeds(); if (minLineFeeds >= 0) { return minLineFeeds; } } return -1; }