| Summary: | [inline] Inline Method produces illegal code for autoboxed parameters | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Tom Hofmann <eclipse> |
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | deepakazad, markus.kell.r |
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
same for inline constant This bug can highly benefit from bug 87173. Postponing until M7. Did not make it into M7 Deferring post 3.1 Need to use ASTNodes#needsExplicitCast(ITypeBinding, ITypeBinding), like Inline Constant and Inline Local Variable. *** This bug has been marked as a duplicate of bug 267386 *** |
I20050215-2300 (m5 test pass) Inline foo in this code: public class InlineAutoboxed { int foo(Integer i) { return i.intValue(); } int bar() { return foo(42); } } --> public class InlineAutoboxed { int bar() { return 42.intValue(); } }