Replace interface with implementation

Hi people. This must be a really easy one but I can't find it anywhere.

I have an interface that has only got one implementation and so I want to get rid of the interface and use the implementation in all places.

How do you do it?

Thanks, Paul.

2 comments
Comment actions Permalink

Hello Paul,

Try to inline interface (Ctrl-Alt-N) on the interface in implements list.

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hi people. This must be a really easy one but I can't find it
anywhere.

I have an interface that has only got one implementation and so I want
to get rid of the interface and use the implementation in all places.

How do you do it?

Thanks, Paul.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5231300#5231300



0
Comment actions Permalink

Oh thanks. Yeah, I tried that yesterday but it listed loads of "problems" so I just cancelled it without reading them. It turns out the problems it reported were exactly what I wanted to happen!

Thanks for the info,  Paul.

0

Please sign in to leave a comment.