Bug 94788 - [push down] annotation as member type results in wrong Import [refactoring]
Summary: [push down] annotation as member type results in wrong Import [refactoring]
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 13:00 EDT by Benjamin Pasero CLA
Modified: 2007-06-14 10:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Pasero CLA 2005-05-11 13:00:12 EDT
Version: 3.1.0
Build id: I20050509-2010

Steps to reproduce:
1.) Create Classes Parent and Child, where Child extends Parent
2.) Add Annotation Foo to Parent:

   @interface Foo {

    }

    Foo foo;

3.) Call Refactor > Push Down

Actual Results:
"import Parent.Foo;" is added to the Child class, which cannot be resolved.


Expected Results:
No import statement is added.

Regards,
Ben