Bug 464710 - Move Type to New File refactoring should preserve heading comments and @author tags
Summary: Move Type to New File refactoring should preserve heading comments and @autho...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.4.2   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-15 11:34 EDT by Osvaldo Pinali Doederlein CLA
Modified: 2015-04-15 11:34 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 Osvaldo Pinali Doederlein CLA 2015-04-15 11:34:12 EDT
Simple idea: refactoring this



/* Copyright 2015 My Company Inc. */
package a;
imports...
/**
 * This is class A.
 * @author Osvaldo
 */
public class A {
  ...
  public static class B {
    ...
  }
}



should result in:



/* Copyright 2015 My Company Inc. */
package a;
imports...
/**
 * This is class A.
 * @author Osvaldo
 */
public class A {
  ...
}



and



/* Copyright 2015 My Company Inc. */
package a;
imports...
/**
 * @author Osvaldo
 */
public class B {
  ...
}