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