### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: search/org/eclipse/jdt/core/search/SearchPattern.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java,v retrieving revision 1.84 diff -u -r1.84 SearchPattern.java --- search/org/eclipse/jdt/core/search/SearchPattern.java 5 May 2010 16:09:40 -0000 1.84 +++ search/org/eclipse/jdt/core/search/SearchPattern.java 3 Jun 2010 12:15:04 -0000 @@ -1389,68 +1389,64 @@ *
[qualification '.']typeName ['<' typeArguments '>']
Some samples: Examples:
*
+ *
- *
- *
- * java.lang.Object
Runnable
List<String>
+ *
* Type arguments can be specified to search for references to parameterized types * using following syntax:
* '<' { [ '?' {'extends'|'super'} ] type ( ',' [ '?' {'extends'|'super'} ] type )* | '?' } '>'
- *
+ *
[declaringType '.'] ['<' typeArguments '>'] methodName ['(' parameterTypes ')'] [returnType]
Type arguments have the same syntax as explained in the type patterns section
- *Some samples: Type arguments have the same syntax as explained in the type patterns section. Examples:
*
+ *
- *
- *
- * java.lang.Runnable.run() void
main(*)
<String>toArray(String[])
['<' typeArguments '>'] [declaringQualification '.'] typeName ['(' parameterTypes ')']
Type arguments have the same syntax as explained in the type patterns section
- *Some samples: Type arguments have the same syntax as explained in the type patterns section. Note that the constructor name should not be entered as it is always the same as the type name. Examples:
*
+ *
- *
- *
- * java.lang.Object()
Test(*)
<Exception>Sample(Exception)
[declaringType '.'] fieldName [fieldType]
Some samples: Examples:
*
+ *
- *
- *
- * java.lang.String.serialVersionUID long
field*
packageNameSegment {'.' packageNameSegment}
Some samples: Examples:
*
+ *
- *
- *
- * java.lang
org.e*.jdt.c*e