Bug 392858 - Integrate RefaFlex plugin for reflection-aware refactorings
Summary: Integrate RefaFlex plugin for reflection-aware refactorings
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 14:47 EDT by Eric Bodden CLA
Modified: 2012-10-26 10:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bodden CLA 2012-10-25 14:47:29 EDT
We have recently developed an Eclipse plugin named RefaFlex which we believe to be useful to JDT users in general and therefore would like to suggest for integration. RefaFlex deals with the old problem of refactorings being generally unsafe with respect to uses of reflection. 

An illustrative video about the plugin is available here:
http://www.feu.de/ps/prjs/rf/

RefaFlex consists of two parts. When the user launches / test runs an application in Eclipse, RefaFlex records all reflective calls invoked by the application into a log file. (This is achieved through an ASM-based instrumentation agent.) Secondly, when the user tries to invoke a refactoring that would rename/move one of the members referenced by a logged call, then the user is made aware of this fact by means of an automatically added refactoring precondition.

I would like to discuss if the community agrees that an integration of at least some of the features of RefaFlex could be useful / would be desired.