Re: How to use refactoring for fixes?

Peter Nabbefeld <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi,

found out that I've to get a api.java.source.TreePathHandle for the 
element to rename (class, field, method rename), then I can do the 
RenameRefactoring in the context of a RefactoringSession.

Kind regards
Peter



Am 16.02.2016 um 15:58 schrieb Benno Markiewicz:
> https://platform.netbeans.org/tutorials/nbm-java-hint.html
>
> With kind regards, markiewb
>
> 2016-02-16 13:34 GMT+01:00 Peter Nabbefeld <[email protected]
> <mailto:[email protected]>>:
>
>
>     Hello,
>
>     I'd like to implement a hint including a fix - how can I do
>     refactoring of
>     Java sources?
>
>     Kind regards
>     Peter
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.