ATermInt integer = (ATermInt) term;
result = makeInt(integer.getInt());
break;
case ATerm.LONG:
ATermLong elongatedType = (ATermLong) term;
result = makeLong(elongatedType.getLong());
break;
case ATerm.REAL:
ATermReal real = (ATermReal) term;
result = makeReal(real.getReal());