001package daikon.chicory;
002
003/** A subtype of DaikonVariableInfo used for variables that are returned from procedures. */
004public class ReturnInfo extends DaikonVariableInfo {
005
006  public ReturnInfo(Class<?> returnType) {
007    super("return", stdClassName(returnType), getRepName(returnType, false));
008  }
009
010  @Override
011  public Object getMyValFromParentVal(Object value) {
012    throw new RuntimeException("Don't call getMyValFromParentVal on ReturnInfo objects");
013  }
014
015  @Override
016  public VarKind get_var_kind() {
017    return VarKind.RETURN;
018  }
019}