if (numericPromotionPriority.get(toType) > numericPromotionPriority.get(fromType))
return true;
}
else if (val instanceof MethodCallValue.VirtualMethodCallValue)
{
MethodCallValue methodCall = (MethodCallValue.VirtualMethodCallValue)val;
MethodSignature sig = methodCall.getSignature();
if (sig.equals(TransformationClassAnalyzer.newBigDecimalLong)
|| sig.equals(TransformationClassAnalyzer.newBigDecimalInt)
|| sig.equals(TransformationClassAnalyzer.newBigDecimalBigInteger))
{
return true;
}
else if (sig.equals(TransformationClassAnalyzer.bigDecimalDoubleValue)
|| sig.equals(TransformationClassAnalyzer.bigIntegerDoubleValue))
{
return true;
}
}
else if (val instanceof MethodCallValue.StaticMethodCallValue)
{
MethodCallValue methodCall = (MethodCallValue.StaticMethodCallValue)val;
MethodSignature sig = methodCall.getSignature();
if (sig.equals(TransformationClassAnalyzer.bigIntegerValueOfLong))
{
return true;
}
}