src/main/java/org/helm/notation2/parser/annotationsection/AnnotationsParser.java
private boolean checkBracketsParenthesis() {
    LOG.debug("Check of brackets in the annotation section:");
    if (bracketCounterOpen == bracketCounterClose
        && parenthesisCounterOpen == parenthesisCounterClose
        && curlyBracketCounterOpen == curlyBracketCounterClose) {
      return true;

    }
    return false;
  }
private boolean checkBracketsParenthesis() {
    LOG.debug("Check of brackets in the annotation section:");
    if (bracketCounterOpen == bracketCounterClose
        && parenthesisCounterOpen == parenthesisCounterClose
        && curlyBracketCounterOpen == curlyBracketCounterClose) {
      return true;

    }
    return false;
  }
method to check if all open brackets are closed

@return true if all open brackets are close, false otherwise