int (List<ASTNode> children) { int start = 0; for (int i = 0; i < children.size(); i++) { ASTNode child = children.get(i); if (BasicJavaAstTreeUtil.is(child, JavaTokenType.LBRACE)) { int j = i + 1; while (BasicJavaAstTreeUtil.isWhiteSpace(children.get(j))) { j++; } start = children.get(j).getTextRange().getStartOffset(); } } return start; }