ASTNode[] (@Nullable ASTNode element) { ASTNode tryBlock = getCodeBlock(element); if (tryBlock != null) { final List<ASTNode> catchSections = ContainerUtil.filter(getChildren(element), ch -> is(ch, BASIC_CATCH_SECTION)); return catchSections.stream() .map(t -> getCatchBlock(t)) .filter(t -> t != null) .toArray(ASTNode[]::new); } return ASTNode.EMPTY_ARRAY; }