@Override
  protected boolean isInArray(@NotNull Editor editor, int offset) {
    SemanticEditorPosition position = getPosition(editor, offset);
    position.moveBefore();
    if (position.isAt(JavaTokenType.LBRACE)) {
      if (position.before().beforeOptional(Whitespace).isAt(JavaTokenType.RBRACKET)) return true;
    }
    return super.isInArray(editor, offset);
  }
@Override
  protected boolean isInArray(@NotNull Editor editor, int offset)