Can anyone tell me if either Hotspot or Dalvik is smart enough to inline calls to a final method returning a constant (static final) int value? Ideally the method call would
Alternatively, Soot is expected to optimize Java bytecode for such case.