[nbusers] Custom Inspect and Transform refactoring to add local variable to all methods

  • From: "desmond.kirrane" < >
  • To:
  • Subject: [nbusers] Custom Inspect and Transform refactoring to add local variable to all methods
  • Date: Fri, 30 Nov 2012 07:17:13 -0500

Hi,

Is it possible to do add a Jackpot refactoring to add a local variable to the 
top of every method.

So given:

Code:

public String setUser(User user) {
     //....
}




the refactor will change it to:


Code:

public String setUser(User user) {
     final String mtdNme = "setUser";
     //....
}




The Inspect and Transform would need to work for every method not just the 
above example.






[nbusers] Custom Inspect and Transform refactoring to add local variable to all methods

desmond.kirrane 11/30/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close