public CaseStatement getCaseStatement(int idx) {
        if (idx >= 0 && idx < caseStatements.size()) {
            return caseStatements.get(idx);
        }
        return null;
    }
public CaseStatement getCaseStatement ( int idx ) { if ( idx >= 0 && idx < caseStatements . size ( ) ) { return caseStatements . get ( idx ) ; } return null ; }
@return the case statement of the given index or null