Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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: 4434
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 Web Tools Platform
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 Apr 20 03:55:49 GMT 2024

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

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

Back to the top