Skip to main content



      Home
Home » Language IDEs » ServerTools (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
Eclipse UserFriend
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
Eclipse UserFriend
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
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: Tue Jul 15 13:36:27 EDT 2025

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

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

Back to the top