Version
1.1.3+, Commit 7f01508
Description
When decompiling a class which uses boxing (e.g. Integer <-> int), currently the boxing calls are always emitted.
However, in some cases these boxing calls are required (or the equivalent cast has to be emitted), e.g. when overloaded methods are called.
Source:
class Test {
void test() {
Integer intObj = 10;
int i = intObj;
}
}
Decompiled output:
class Test {
void test() {
Integer integer = Integer.valueOf(10);
int i = integer.intValue();
}
}