All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.ir.statement.IRCaseClause Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.ir.statement;

import gw.lang.ir.IRExpression;
import gw.lang.ir.IRStatement;
import gw.lang.UnstableAPI;

import java.util.List;

@UnstableAPI
public class IRCaseClause {
  private IRExpression _condition;
  private List _statements;
  private int _constValue;

  public IRCaseClause(IRExpression condition, List statements, int constValue) {
    _condition = condition;
    _statements = statements;
    _constValue = constValue;
  }

  public IRExpression getCondition() {
    return _condition;
  }

  public List getStatements() {
    return _statements;
  }

  public int getConstValue() {
    return _constValue;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy