Index: buildnotes_jdt-core.html
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/buildnotes_jdt-core.html,v
retrieving revision 1.4112
diff -u -r1.4112 buildnotes_jdt-core.html
--- buildnotes_jdt-core.html 27 Apr 2005 18:17:37 -0000 1.4112
+++ buildnotes_jdt-core.html 27 Apr 2005 20:20:31 -0000
@@ -152,11 +152,11 @@
89274
[1.5][compiler] Enums in hierarchies with generics produces unnecessary warnings and errors
90137
-[1.5][compiler] Collections.sort (List) compile error
+[1.5][compiler] Collections.sort (List<Comparable>) compile error
90879
[1.5][compiler] Cannot sort a raw Comparable
85281
-[1.5][compiler] A<++Element> should not be assignable a A<+Element>
+[1.5][compiler] A<++Element> should not be assignable a A<+Element>
91091
[quick assist] Cannot rename type name in file
90881
Index: compiler/org/eclipse/jdt/core/compiler/IProblem.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/IProblem.java,v
retrieving revision 1.145
diff -u -r1.145 IProblem.java
--- compiler/org/eclipse/jdt/core/compiler/IProblem.java 21 Mar 2005 22:46:36 -0000 1.145
+++ compiler/org/eclipse/jdt/core/compiler/IProblem.java 27 Apr 2005 20:20:32 -0000
@@ -521,8 +521,8 @@
int InvalidDigit = Syntax + Internal + 262;
/** @since 3.1 */
int InvalidLowSurrogate = Syntax + Internal + 263;
+ /** @since 3.1 */
int InvalidHighSurrogate = Syntax + Internal + 264;
-
// type related problems
/** @since 3.1 */
@@ -699,7 +699,7 @@
int IncompatibleReturnTypeForNonInheritedInterfaceMethod = MethodRelated + 413;
/** @since 2.1 */
int IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod = MethodRelated + 414;
- /** @since 3.0 */
+ /** @since 3.1 */
int IllegalVararg = MethodRelated + 415;
// code snippet support
@@ -762,9 +762,9 @@
/** @since 3.0 */
int JavadocInvalidThrowsClassName = Javadoc + Internal + 481;
/** @since 3.0 */
- int JavadocMissingReference = Javadoc + Internal + 482;
+ int JavadocMissingSeeReference = Javadoc + Internal + 482;
/** @since 3.0 */
- int JavadocInvalidReference = Javadoc + Internal + 483;
+ int JavadocInvalidSeeReference = Javadoc + Internal + 483;
/** @since 3.0 */
int JavadocInvalidSeeHref = Javadoc + Internal + 484;
/** @since 3.0 */
@@ -836,10 +836,10 @@
/** @since 3.0 */
int JavadocUnterminatedInlineTag = Javadoc + Internal + 512;
/** @since 3.0 */
- int JavadocMissingHashCharacter = Javadoc + Internal + 513;
- /** @since 3.0 */
- int JavadocMalformedSeeReference = Javadoc + Internal + 514;
- /** @since 3.0 */
+ int JavadocMalformedSeeReference = Javadoc + Internal + 513;
+ /** @since 3.1 */
+ int JavadocMissingHashCharacter = Javadoc + Internal + 514;
+ /** @since 3.1 */
int JavadocEmptyReturnTag = Javadoc + Internal + 515;
/** @since 3.1 */
int JavadocInvalidValueReference = Javadoc + Internal + 516;
Index: compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java,v
retrieving revision 1.242
diff -u -r1.242 ProblemReporter.java
--- compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java 21 Apr 2005 13:06:49 -0000 1.242
+++ compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java 27 Apr 2005 20:20:40 -0000
@@ -733,7 +733,7 @@
case IProblem.JavadocUnexpectedTag:
case IProblem.JavadocDuplicateReturnTag:
case IProblem.JavadocInvalidThrowsClass:
- case IProblem.JavadocInvalidReference:
+ case IProblem.JavadocInvalidSeeReference:
case IProblem.JavadocInvalidParamTagName:
case IProblem.JavadocInvalidParamTagTypeParameter:
case IProblem.JavadocMalformedSeeReference:
@@ -759,7 +759,7 @@
case IProblem.JavadocInvalidThrowsClassName:
case IProblem.JavadocDuplicateThrowsClassName:
case IProblem.JavadocMissingThrowsClassName:
- case IProblem.JavadocMissingReference:
+ case IProblem.JavadocMissingSeeReference:
case IProblem.JavadocInvalidValueReference:
case IProblem.JavadocUndefinedField:
case IProblem.JavadocAmbiguousField:
@@ -3566,7 +3566,7 @@
this.handle(IProblem.JavadocInvalidParamTagTypeParameter, NoArgument, NoArgument, sourceStart, sourceEnd);
}
public void javadocInvalidReference(int sourceStart, int sourceEnd) {
- this.handle(IProblem.JavadocInvalidReference, NoArgument, NoArgument, sourceStart, sourceEnd);
+ this.handle(IProblem.JavadocInvalidSeeReference, NoArgument, NoArgument, sourceStart, sourceEnd);
}
public void javadocInvalidSeeReferenceArgs(int sourceStart, int sourceEnd) {
this.handle(IProblem.JavadocInvalidSeeArgs, NoArgument, NoArgument, sourceStart, sourceEnd);
@@ -3656,7 +3656,7 @@
}
public void javadocMissingReference(int sourceStart, int sourceEnd, int modifiers){
if (javadocVisibility(this.options.reportInvalidJavadocTagsVisibility, modifiers))
- this.handle(IProblem.JavadocMissingReference, NoArgument, NoArgument, sourceStart, sourceEnd);
+ this.handle(IProblem.JavadocMissingSeeReference, NoArgument, NoArgument, sourceStart, sourceEnd);
}
public void javadocMissingReturnTag(int sourceStart, int sourceEnd, int modifiers){
boolean overriding = (modifiers & (CompilerModifiers.AccImplementing|CompilerModifiers.AccOverriding)) != 0;
Index: dom/org/eclipse/jdt/core/dom/ITypeBinding.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ITypeBinding.java,v
retrieving revision 1.46
diff -u -r1.46 ITypeBinding.java
--- dom/org/eclipse/jdt/core/dom/ITypeBinding.java 21 Apr 2005 13:06:49 -0000 1.46
+++ dom/org/eclipse/jdt/core/dom/ITypeBinding.java 27 Apr 2005 20:20:41 -0000
@@ -178,6 +178,7 @@
*
* @return the binding of the method that declares this type, or
* null
if none
+ * @since 3.1
*/
public IMethodBinding getDeclaringMethod();
Index: model/org/eclipse/jdt/core/JavaCore.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java,v
retrieving revision 1.457
diff -u -r1.457 JavaCore.java
--- model/org/eclipse/jdt/core/JavaCore.java 21 Apr 2005 08:53:04 -0000 1.457
+++ model/org/eclipse/jdt/core/JavaCore.java 27 Apr 2005 20:20:48 -0000
@@ -469,7 +469,7 @@
/**
* Possible configurable option ID.
* @see #getDefaultOptions()
- * @since 3.0
+ * @since 3.1
*/
public static final String COMPILER_PB_INVALID_JAVADOC_TAGS__NOT_VISIBLE_REF = PLUGIN_ID + ".compiler.problem.invalidJavadocTagsNotVisibleRef"; //$NON-NLS-1$
/**
Index: model/org/eclipse/jdt/core/Signature.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java,v
retrieving revision 1.68
diff -u -r1.68 Signature.java
--- model/org/eclipse/jdt/core/Signature.java 22 Apr 2005 13:45:30 -0000 1.68
+++ model/org/eclipse/jdt/core/Signature.java 27 Apr 2005 20:20:50 -0000
@@ -1166,6 +1166,8 @@
* @return the list of thrown exception type signatures
* @exception IllegalArgumentException if the signature is syntactically
* incorrect
+ *
+ * @since 3.1
*/
public static String[] getThrownExceptionTypes(String methodSignature) throws IllegalArgumentException {
char[][] parameterTypes = getThrownExceptionTypes(methodSignature.toCharArray());
@@ -1180,6 +1182,8 @@
* @return the list of thrown exception type signatures
* @exception IllegalArgumentException if the signature is syntactically
* incorrect
+ *
+ * @since 3.1
*/
public static char[][] getThrownExceptionTypes(char[] methodSignature) throws IllegalArgumentException {
// skip type parameters
@@ -2004,6 +2008,7 @@
* @return new signature without capture information or siganture itself
* if no specific capture information was there
* @exception NullPointerException if captureSignature
is null
+ *
* @since 3.1
* TODO (frederic) Create remove(char[], char) method on CharOperation and call it from here
*/
@@ -2046,6 +2051,7 @@
* @return new signature without capture information or siganture itself
* if no specific capture information was there
* @exception NullPointerException if captureSignature
is null
+ *
* @since 3.1
*/
public static String removeCaptureFromMethod(String captureSignature) {
@@ -2679,6 +2685,8 @@
* variable argument, false
otherwise
* @see #toCharArray(char[], char[], char[][], boolean, boolean)
* @return the string representation of the method signature
+ *
+ * @since 3.1
*/
public static String toString(String methodSignature, String methodName, String[] parameterNames, boolean fullyQualifyTypeNames, boolean includeReturnType, boolean isVarArgs) {
char[][] params;
Index: model/org/eclipse/jdt/core/ToolFactory.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ToolFactory.java,v
retrieving revision 1.65
diff -u -r1.65 ToolFactory.java
--- model/org/eclipse/jdt/core/ToolFactory.java 23 Feb 2005 02:47:28 -0000 1.65
+++ model/org/eclipse/jdt/core/ToolFactory.java 27 Apr 2005 20:20:51 -0000
@@ -375,7 +375,8 @@
* the Unicode 4.0 is supporte, otherwise Unicode 3.0 is supported.
* @return a scanner
* @see org.eclipse.jdt.core.compiler.IScanner
- * @since 3.0
+ *
+ * @since 3.1
*/
public static IScanner createScanner(boolean tokenizeComments, boolean tokenizeWhiteSpace, boolean recordLineSeparator, String sourceLevel, String complianceLevel) {
PublicScanner scanner = null;
Index: model/org/eclipse/jdt/core/eval/IEvaluationContext.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java,v
retrieving revision 1.18
diff -u -r1.18 IEvaluationContext.java
--- model/org/eclipse/jdt/core/eval/IEvaluationContext.java 23 Feb 2005 02:47:58 -0000 1.18
+++ model/org/eclipse/jdt/core/eval/IEvaluationContext.java 27 Apr 2005 20:20:52 -0000
@@ -202,7 +202,7 @@
* The position specified is less than -1 or is greater than the snippet's
* length (INDEX_OUT_OF_BOUNDS)
*
- * @since 3.0
+ * @since 3.1
*/
public void codeComplete(
String codeSnippet,
Index: search/org/eclipse/jdt/core/search/SearchEngine.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchEngine.java,v
retrieving revision 1.125
diff -u -r1.125 SearchEngine.java
--- search/org/eclipse/jdt/core/search/SearchEngine.java 26 Apr 2005 18:55:07 -0000 1.125
+++ search/org/eclipse/jdt/core/search/SearchEngine.java 27 Apr 2005 20:20:54 -0000
@@ -579,7 +579,7 @@
*
* - the classpath is incorrectly set
*
- * @since 3.0
+ * @since 3.1
*/
public void searchAllTypeNames(
final char[] packageName,
Index: search/org/eclipse/jdt/core/search/SearchMatch.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchMatch.java,v
retrieving revision 1.24
diff -u -r1.24 SearchMatch.java
--- search/org/eclipse/jdt/core/search/SearchMatch.java 8 Mar 2005 09:43:38 -0000 1.24
+++ search/org/eclipse/jdt/core/search/SearchMatch.java 27 Apr 2005 20:20:54 -0000
@@ -290,7 +290,7 @@
}
/**
- * Returns the rule used while creating the match.
+ * Set the rule used while reporting the match.
*
* @param rule one of {@link SearchPattern#R_FULL_MATCH}, {@link SearchPattern#R_EQUIVALENT_MATCH}
* or {@link SearchPattern#R_ERASURE_MATCH}
@@ -301,7 +301,7 @@
}
/**
- * Returns whether the associated element is a raw type/method or not.
+ * Set whether the associated element is a raw type/method or not.
*
* @param raw true
if this search match is associated to a raw
* type or method and false
otherwise
Index: search/org/eclipse/jdt/core/search/SearchPattern.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java,v
retrieving revision 1.41
diff -u -r1.41 SearchPattern.java
--- search/org/eclipse/jdt/core/search/SearchPattern.java 26 Apr 2005 18:55:07 -0000 1.41
+++ search/org/eclipse/jdt/core/search/SearchPattern.java 27 Apr 2005 20:20:56 -0000
@@ -1281,14 +1281,14 @@
* Type pattern are formed by [qualification '.']type [typeArguments].
* e.g. java.lang.Object
* Runnable
- * List
+ * List<String>
*
* @since 3.1
* Type arguments can be specified to search references to parameterized types.
- * and look as follow: '<' { [ '?' {'extends'|'super'} ] type ( ',' [ '?' {'extends'|'super'} ] type )* | '?' } '>'
+ * and look as follow: '<' { [ '?' {'extends'|'super'} ] type ( ',' [ '?' {'extends'|'super'} ] type )* | '?' } '>'
* Please note that:
- * - '*' is not valid inside type arguments definition <>
- * - '?' is treated as a wildcard when it is inside <> (ie. it must be put on first position of the type argument)
+ * - '*' is not valid inside type arguments definition <>
+ * - '?' is treated as a wildcard when it is inside <> (ie. it must be put on first position of the type argument)
*/
private static SearchPattern createTypePattern(String patternString, int limitTo, int matchRule, char indexSuffix) {