Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Finding references for specific parameter types
Finding references for specific parameter types [message #508059] Fri, 15 January 2010 12:28 Go to next message
breako  is currently offline 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 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2235
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
Previous Topic:Symbian Foundation interest in JSDT proposal
Next Topic:Can multiple contexts be associated with a single Dynamic Web Project?
Goto Forum:
  


Current Time: Sat Jul 26 13:13:24 EDT 2014

Powered by FUDForum. Page generated in 0.02001 seconds