@Override
  public void apply(Editor editor, AbstractBasicJavaSmartEnterProcessor processor, @NotNull ASTNode astNode) throws IncorrectOperationException {
    if (!(BasicJavaAstTreeUtil.is(astNode, BASIC_SYNCHRONIZED_STATEMENT))) return;

    ASTNode body = BasicJavaAstTreeUtil.getCodeBlock(astNode);
    if (body != null) return;

    processor.insertBraces(editor, astNode.getTextRange().getEndOffset());
  }
@Override
  public void apply(Editor editor, AbstractBasicJavaSmartEnterProcessor processor, @NotNull ASTNode astNode)