[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-dev] Is SearchPattern not finished yet?
|
Liam,
Technical questions and discussions about using eclipse and eclipse-based
tools,
and developing plug-in tools should be posted to the newsgroups.
Problems should be reported using bugzilla (see on Eclipse.org main page).
Mailing lists at eclipse.org are intended for use by developers actually
working
on or otherwise contributing to day-to-day development.
Saying that... this issue has been already reported a long time ago in bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3336
Cordialement/Regards,
Frédéric
Liam Morley
<lmorley@xxxxxxx>
Sent by: To
jdt-dev-admin@ecl jdt-dev@xxxxxxxxxxx
ipse.org cc
Subject
11/23/2004 07:11 [jdt-dev] Is SearchPattern not
PM finished yet?
Please respond to
jdt-dev
The javadoc for SearchPattern.createPattern(String stringPattern, int
searchFor, int limitTo, int matchRule) mentions that searchFor can be
any of the following:
||
* |IJavaSearchConstants.CLASS|: only look for classes
* |IJavaSearchConstants.INTERFACE|: only look for interfaces
* |IJavaSearchConstants.TYPE|: look for both classes and interfaces
* |IJavaSearchConstants.FIELD|: look for fields
* |IJavaSearchConstants.METHOD|: look for methods
* |IJavaSearchConstants.CONSTRUCTOR|: look for constructors
* |IJavaSearchConstants.PACKAGE|: look for packages
However, after looking at the code it looks that only TYPE, METHOD,
CONSTRUCTOR, FIELD, and PACKAGE are supported. Is there no individual
support for Classes or Interfaces yet? I was wondering why my pattern is
coming out equal to null... the workaround is not difficult, but it
seems that at least the javadoc should be accurate; at the moment, I
think it's a bit misleading.
--
Liam Morley
Computer Science Undergraduate
Worcester Polytechnic Institute
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev