void (@NotNull GrOpenBlock block) { final IElementType type = block.getNode().getElementType(); if (!(type instanceof GrBlockElementType) && type != GroovyElementTypes.CONSTRUCTOR_BODY) return; int braceStyle; PsiElement parent = block.getParent(); if (parent instanceof GrMethod) { braceStyle = getGroovySettings().METHOD_BRACE_STYLE; } else { braceStyle = getGroovySettings().BRACE_STYLE; } if (myChildType != GroovyTokenTypes.mLCURLY && myChildType != GroovyTokenTypes.mRCURLY) { myResult = getIndentInBlock(braceStyle); } }