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 17:28 Go to next message
breako  is currently offline breako Friend
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 18:36 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2341
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: Thu Dec 18 21:50:50 GMT 2014

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

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