Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 499536

Summary: Cannot inline parameter annotation constants
Product: [Eclipse Project] JDT Reporter: Bill Chen <billc.cn>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Bill Chen CLA 2016-08-11 05:11:50 EDT
To Reproduce:

1. Have a method like

void a(@SomeAnnotation(STATIC_VAR) int a) ...

2. Select "STATIC_VAR" and do Refactor -> Inline...

Expected:

Constant gets inlined

Actually:

Gets an error dialogue saying: Cannot inline method parameters.


-- Configuration Details --
Product: Eclipse 4.6.0.20160613-1800 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.12.0.v20160606-1100
Comment 1 Eclipse Genie CLA 2020-02-14 11:24:15 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.