@Override
  protected boolean isCustomFoldingRoot(@NotNull ASTNode node) {
    IElementType nodeType = node.getElementType();
    return nodeType == GroovyStubElementTypes.CLASS_TYPE_DEFINITION || nodeType instanceof GrBlockElementType;
  }
@Override
  protected boolean isCustomFoldingRoot(@NotNull ASTNode node)