Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to replace superclass in Java source text
How to replace superclass in Java source text [message #243098] Sat, 21 April 2007 15:49 Go to next message
Eclipse UserFriend
Originally posted by: tvelkoff.cox.net

Assuming that I have the IType for "MyClass", and "ParentClass" is the
current superclass of "MyClass", what is the general approach I would use to
navigate to the source for "MyClass" and replace "ParentClass" with
"NewClass" and save the modified source?

Thanks in advance.

Ted Velkoff
Re: How to replace superclass in Java source text [message #243127 is a reply to message #243098] Mon, 23 April 2007 09:53 Go to previous message
Eclipse UserFriend
Originally posted by: benno_baumgartner.ch.ibm.com

Ted Velkoff wrote:
> Assuming that I have the IType for "MyClass", and "ParentClass" is the
> current superclass of "MyClass", what is the general approach I would use to
> navigate to the source for "MyClass" and replace "ParentClass" with
> "NewClass" and save the modified source?
>
> Thanks in advance.
>
> Ted Velkoff
>
>

http://www.eclipse.org/articles/Article-JavaCodeManipulation _AST/

HTH
Benno
Previous Topic:Compiler question about inlining...
Next Topic:Debug window lose focus in eclipse 3.2.1
Goto Forum:
  


Current Time: Sat Aug 17 11:27:32 GMT 2024

Powered by FUDForum. Page generated in 0.02920 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top