| Finding references for specific parameter types [message #508059] |
Fri, 15 January 2010 12:28  |
breako Messages: 57 Registered: July 2009 |
Member |
|
|
Suppose I have a generic method that accepts as Parameter Type T for example:
public <T extends Animal> void add(T animal) {
...
}
And I have various types of Animal, Cat, Dog etc.
I want to see in Eclipse not just anytime add() is called, but anytime add is called for the type Cat and anytime add is called for the type Dog? Is there any way to do this? Or is there anytype of plugin that will do it?
Thanks.
|
|
|
| Re: Finding references for specific parameter types [message #508072 is a reply to message #508059] |
Fri, 15 January 2010 13:36  |
 |
Nitin Dahyabhai Messages: 1857 Registered: July 2009 |
Senior Member |
|
|
breako wrote:
> Suppose I have a generic method that accepts as Parameter Type T for
> example:
>
> public <T extends Animal> void add(T animal) {
> ..
> }
>
> And I have various types of Animal, Cat, Dog etc.
> I want to see in Eclipse not just anytime add() is called, but anytime
> add is called for the type Cat and anytime add is called for the type
> Dog? Is there any way to do this? Or is there anytype of plugin that
> will do it?
Assuming that's Java, you probably meant to ask in the JDT newsgroup.
--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
---
Nitin Dahyabhai
Eclipse WTP, IBM
|
|
|
Powered by
FUDForum. Page generated in 0.01466 seconds