Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] REPOST: Java Search: how to find methods with a specific parameter type?

Adam,

Please see my reponse on the newsgroup.

Jerome



|---------+---------------------------->
|         |           Adam             |
|         |           Kiezun/Zurich/IBM|
|         |           @IBMCH           |
|         |           Sent by:         |
|         |           jdt-dev-admin@ecl|
|         |           ipse.org         |
|         |                            |
|         |                            |
|         |           04/07/2003 03:16 |
|         |           PM               |
|         |           Please respond to|
|         |           jdt-dev          |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                        |
  |       To:       jdt-dev@xxxxxxxxxxx                                                                                    |
  |       cc:                                                                                                              |
  |       Subject:  [jdt-dev] REPOST: Java Search: how to find methods with a specific parameter type?                     |
  |                                                                                                                        |
  >------------------------------------------------------------------------------------------------------------------------|








(this is a repost of my newsgroup question to which i got no answer)

hi,
i'm looking for a way to find all occurrences of all:
- methods that have a particular type as a formal parameter type
- methods that have that particular type as a declared return type
- fields that have that particular type as a declared type

Ideas?

return type i know how to do - because we have it in Tips and Tricks
but the other 2 i don't know

here's what i did for now:
- i actually got handles for all these methods and fields, created one big
(ca. 20 parts) OR search pattern and searched for that
but it's very slow - looks like the size of the search patterns badly
affects the performance of search (even though none of the
sub-patterns contained wild-cards)

a.

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev







Back to the top