Index: antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java,v
retrieving revision 1.36
diff -u -r1.36 JDTCompilerAdapter.java
--- antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java 25 May 2004 13:22:14 -0000 1.36
+++ antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java 27 May 2004 13:23:37 -0000
@@ -331,7 +331,7 @@
* This method adds all files in the given
* directories (but not in sub-directories!) to the classpath,
* so that you don't have to specify them all one by one.
- * @param extdirs - Path to append files to
+ * @param extDirs - Path to append files to
*/
private void addExtdirs(Path extDirs, Path classpath) {
if (extDirs == null) {
Index: codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java,v
retrieving revision 1.172
diff -u -r1.172 CompletionEngine.java
--- codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 14 May 2004 14:49:04 -0000 1.172
+++ codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 27 May 2004 13:23:37 -0000
@@ -871,7 +871,7 @@
* Ask the engine to compute a completion at the specified position
* of the given compilation unit.
*
- * @return void
+ * No return
* completion results are answered through a requestor.
*
* @param sourceUnit org.eclipse.jdt.internal.compiler.env.ICompilationUnit
Index: compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java,v
retrieving revision 1.68
diff -u -r1.68 ClassFile.java
--- compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 11 May 2004 16:46:53 -0000 1.68
+++ compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 27 May 2004 13:23:37 -0000
@@ -552,7 +552,7 @@
* INTERNAL USE-ONLY
* This methods stores the bindings for each inner class. They will be used to know which entries
* have to be generated for the inner classes attributes.
- * @param referenceBinding org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
+ * @param refBinding org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
*/
public void addInnerClasses(ReferenceBinding refBinding) {
// check first if that reference binding is there
@@ -576,7 +576,7 @@
* INTERNAL USE-ONLY
* Generate the byte for a problem clinit method info that correspond to a boggus method.
*
- * @param problem org.eclipse.jdt.internal.compiler.problem.Problem[]
+ * @param problems org.eclipse.jdt.internal.compiler.problem.Problem[]
*/
public void addProblemClinit(IProblem[] problems) {
generateMethodInfoHeaderForClinit();
@@ -633,7 +633,7 @@
*
* @param method org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
* @param methodBinding org.eclipse.jdt.internal.compiler.nameloopkup.MethodBinding
- * @param problem org.eclipse.jdt.internal.compiler.problem.Problem[]
+ * @param problems org.eclipse.jdt.internal.compiler.problem.Problem[]
*/
public void addProblemConstructor(
AbstractMethodDeclaration method,
@@ -694,7 +694,7 @@
*
* @param method org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
* @param methodBinding org.eclipse.jdt.internal.compiler.nameloopkup.MethodBinding
- * @param problem org.eclipse.jdt.internal.compiler.problem.Problem[]
+ * @param problems org.eclipse.jdt.internal.compiler.problem.Problem[]
* @param savedOffset int
*/
public void addProblemConstructor(
@@ -714,7 +714,7 @@
*
* @param method org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
* @param methodBinding org.eclipse.jdt.internal.compiler.nameloopkup.MethodBinding
- * @param problem org.eclipse.jdt.internal.compiler.problem.Problem[]
+ * @param problems org.eclipse.jdt.internal.compiler.problem.Problem[]
*/
public void addProblemMethod(
AbstractMethodDeclaration method,
@@ -782,7 +782,7 @@
*
* @param method org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
* @param methodBinding org.eclipse.jdt.internal.compiler.nameloopkup.MethodBinding
- * @param problem org.eclipse.jdt.internal.compiler.problem.Problem[]
+ * @param problems org.eclipse.jdt.internal.compiler.problem.Problem[]
* @param savedOffset int
*/
public void addProblemMethod(
@@ -1218,7 +1218,6 @@
* - exception table
* - and debug attributes if necessary.
*
- * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream
* @param codeAttributeOffset int
*/
public void completeCodeAttribute(int codeAttributeOffset) {
@@ -1489,7 +1488,6 @@
* - exception table
* - and debug attributes if necessary.
*
- * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream
* @param codeAttributeOffset int
*/
public void completeCodeAttributeForClinit(int codeAttributeOffset) {
@@ -1738,10 +1736,8 @@
* - exception table
* - and debug attributes if necessary.
*
- * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream
* @param codeAttributeOffset int
- * @param exceptionHandler int[]
- * @param startIndexes int[]
+ * @param startLineIndexes int[]
*/
public void completeCodeAttributeForClinit(
int codeAttributeOffset,
@@ -1875,9 +1871,7 @@
* - exception table
* - and debug attributes if necessary.
*
- * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream
* @param codeAttributeOffset int
- * @param exceptionHandler int[]
*/
public void completeCodeAttributeForProblemMethod(
AbstractMethodDeclaration method,
@@ -2122,7 +2116,6 @@
* - and debug attributes if necessary.
*
* @param binding org.eclipse.jdt.internal.compiler.lookup.SyntheticAccessMethodBinding
- * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream
* @param codeAttributeOffset int
*/
public void completeCodeAttributeForSyntheticAccessMethod(
@@ -2602,8 +2595,6 @@
* - the access flags (always default access + static)
* - the name index of the method name (always int
*/
public int literalIndex(char[] utf8Constant) {
@@ -742,7 +742,7 @@
* value. If the double is not already present into the pool, it is added. The
* double cache is updated and it returns the right index.
*
- * @param double
key
+ * @param key double
* @return int
*/
public int literalIndex(double key) {
@@ -783,7 +783,7 @@
* value. If the float is not already present into the pool, it is added. The
* int cache is updated and it returns the right index.
*
- * @param float
key
+ * @param key float
* @return int
*/
public int literalIndex(float key) {
@@ -821,7 +821,7 @@
* value. If the int is not already present into the pool, it is added. The
* int cache is updated and it returns the right index.
*
- * @param int
key
+ * @param key int
* @return int
*/
public int literalIndex(int key) {
@@ -858,7 +858,7 @@
* value. If the long is not already present into the pool, it is added. The
* long cache is updated and it returns the right index.
*
- * @param long
key
+ * @param key long
* @return int
*/
public int literalIndex(long key) {
@@ -920,7 +920,7 @@
* This method returns the index into the constantPool
* corresponding to the field binding aFieldBinding.
*
- * @param FieldBinding aFieldBinding
+ * @param aFieldBinding FieldBinding
* @return int
*/
public int literalIndex(FieldBinding aFieldBinding) {
@@ -963,7 +963,7 @@
* or a method reference constant.
* Note: uses the method binding #constantPoolDeclaringClass which could be an array type
* for the array clone method (see UpdatedMethodDeclaration).
- * @param MethodBinding aMethodBinding
+ * @param aMethodBinding MethodBinding
* @return int
*/
public int literalIndex(MethodBinding aMethodBinding) {
@@ -1049,7 +1049,7 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
+ * @param aTypeBinding TypeBinding
* @return int
*/
public int literalIndex(TypeBinding aTypeBinding) {
@@ -1087,9 +1087,9 @@
* This method returns the index into the constantPool corresponding
* nameAndType constant with nameIndex, typeIndex.
*
- * @param int nameIndex
- * @param int nameIndex
- * @param org.eclipse.jdt.internal.compiler.lookup.FieldBinding a FieldBinding
+ * @param nameIndex int
+ * @param typeIndex int
+ * @param key org.eclipse.jdt.internal.compiler.lookup.FieldBinding
* @return int
*/
public int literalIndexForFields(int nameIndex, int typeIndex, FieldBinding key) {
@@ -1123,7 +1123,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangBoolean() {
@@ -1176,7 +1175,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangByte() {
@@ -1229,7 +1227,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangCharacter() {
@@ -1282,7 +1279,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangClass() {
@@ -1412,7 +1408,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangClassNotFoundException() {
@@ -1434,7 +1429,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangDouble() {
@@ -1487,7 +1481,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangError() {
@@ -1560,7 +1553,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangFloat() {
@@ -1613,7 +1605,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangInteger() {
@@ -1666,7 +1657,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangLong() {
@@ -1719,7 +1709,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangNoClassDefFoundError() {
@@ -1742,7 +1731,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangAssertionError() {
@@ -1765,7 +1753,7 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
+ * @param typeBindingID int
* @return int
*/
public int literalIndexForJavaLangAssertionErrorConstructor(int typeBindingID) {
@@ -2026,7 +2014,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangObject() {
@@ -2048,7 +2035,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangReflectConstructor() {
@@ -2099,7 +2085,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangShort() {
@@ -2152,7 +2137,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangString() {
@@ -2174,7 +2158,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangStringBuffer() {
@@ -2728,7 +2711,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangSystem() {
@@ -2817,7 +2799,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangThrowable() {
@@ -2875,7 +2856,6 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
* @return int
*/
public int literalIndexForJavaLangVoid() {
@@ -2928,7 +2908,7 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param char[] stringName
+ * @param stringCharArray char[]
* @return int
*/
public int literalIndexForLdc(char[] stringCharArray) {
@@ -2999,9 +2979,9 @@
* This method returns the index into the constantPool corresponding
* nameAndType constant with nameIndex, typeIndex.
*
- * @param int nameIndex
- * @param int nameIndex
- * @param org.eclipse.jdt.internal.compiler.lookup.MethodBinding a methodBinding
+ * @param nameIndex int
+ * @param typeIndex int
+ * @param key org.eclipse.jdt.internal.compiler.lookup.MethodBinding
* @return int
*/
public int literalIndexForMethods(int nameIndex, int typeIndex, MethodBinding key) {
@@ -3087,7 +3067,7 @@
/**
* Write a unsigned byte into the byte array
*
- * @param int
The value to write into the byte array
+ * @param value int
The value to write into the byte array
*/
protected final void writeU1(int value) {
try {
@@ -3102,7 +3082,7 @@
/**
* Write a unsigned byte into the byte array
*
- * @param int
The value to write into the byte array
+ * @param value int
The value to write into the byte array
*/
protected final void writeU2(int value) {
//first byte
Index: compiler/org/eclipse/jdt/internal/compiler/codegen/FieldNameAndTypeCache.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/FieldNameAndTypeCache.java,v
retrieving revision 1.18
diff -u -r1.18 FieldNameAndTypeCache.java
--- compiler/org/eclipse/jdt/internal/compiler/codegen/FieldNameAndTypeCache.java 13 Jan 2004 15:48:44 -0000 1.18
+++ compiler/org/eclipse/jdt/internal/compiler/codegen/FieldNameAndTypeCache.java 27 May 2004 13:23:38 -0000
@@ -49,7 +49,7 @@
}
/** Returns true if the collection contains an element for the key.
*
- * @param char[] key the key that we are looking for
+ * @param key char[] the key that we are looking for
* @return boolean
*/
public boolean containsKey(FieldBinding key) {
Index: compiler/org/eclipse/jdt/internal/compiler/codegen/MethodNameAndTypeCache.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/MethodNameAndTypeCache.java,v
retrieving revision 1.18
diff -u -r1.18 MethodNameAndTypeCache.java
--- compiler/org/eclipse/jdt/internal/compiler/codegen/MethodNameAndTypeCache.java 13 Jan 2004 15:48:44 -0000 1.18
+++ compiler/org/eclipse/jdt/internal/compiler/codegen/MethodNameAndTypeCache.java 27 May 2004 13:23:38 -0000
@@ -49,7 +49,7 @@
}
/** Returns true if the collection contains an element for the key.
*
- * @param char[] key the key that we are looking for
+ * @param key char[] the key that we are looking for
* @return boolean
*/
public boolean containsKey(MethodBinding key) {
Index: compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java,v
retrieving revision 1.18
diff -u -r1.18 ObjectCache.java
--- compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java 13 Jan 2004 15:48:44 -0000 1.18
+++ compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java 27 May 2004 13:23:38 -0000
@@ -46,7 +46,7 @@
}
/** Returns true if the collection contains an element for the key.
*
- * @param char[] key the key that we are looking for
+ * @param key char[] the key that we are looking for
* @return boolean
*/
public boolean containsKey(Object key) {
Index: compiler/org/eclipse/jdt/internal/compiler/env/NameEnvironmentAnswer.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/env/NameEnvironmentAnswer.java,v
retrieving revision 1.16
diff -u -r1.16 NameEnvironmentAnswer.java
--- compiler/org/eclipse/jdt/internal/compiler/env/NameEnvironmentAnswer.java 13 Jan 2004 15:48:44 -0000 1.16
+++ compiler/org/eclipse/jdt/internal/compiler/env/NameEnvironmentAnswer.java 27 May 2004 13:23:38 -0000
@@ -34,7 +34,7 @@
* receiver represents a compilation unit or source type.
*/
public IBinaryType getBinaryType() {
- return binaryType;
+ return this.binaryType;
}
/**
@@ -42,7 +42,7 @@
* receiver represents a binary or source type.
*/
public ICompilationUnit getCompilationUnit() {
- return compilationUnit;
+ return this.compilationUnit;
}
/**
@@ -53,27 +53,27 @@
* several type at once. Then the first type is guaranteed to be the requested type.
*/
public ISourceType[] getSourceTypes() {
- return sourceTypes;
+ return this.sourceTypes;
}
/**
* Answer whether the receiver contains the resolved binary form of the type.
*/
public boolean isBinaryType() {
- return binaryType != null;
+ return this.binaryType != null;
}
/**
* Answer whether the receiver contains the compilation unit which defines the type.
*/
public boolean isCompilationUnit() {
- return compilationUnit != null;
+ return this.compilationUnit != null;
}
/**
* Answer whether the receiver contains the unresolved source form of the type.
*/
public boolean isSourceType() {
- return sourceTypes != null;
+ return this.sourceTypes != null;
}
}
Index: dom/org/eclipse/jdt/core/dom/AST.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java,v
retrieving revision 1.119
diff -u -r1.119 AST.java
--- dom/org/eclipse/jdt/core/dom/AST.java 25 May 2004 13:30:42 -0000 1.119
+++ dom/org/eclipse/jdt/core/dom/AST.java 27 May 2004 13:23:38 -0000
@@ -993,7 +993,7 @@
/**
* Sets the event handler for this AST.
*
- * @param resolver the event handler for this AST
+ * @param eventHandler the event handler for this AST
* @since 3.0
*/
void setEventHandler(NodeEventHandler eventHandler) {
@@ -1142,7 +1142,7 @@
try {
// invoke constructor with signature Foo(AST)
Constructor c = nodeClass.getDeclaredConstructor(AST_CLASS);
- Object result = c.newInstance(THIS_AST);
+ Object result = c.newInstance(this.THIS_AST);
return (ASTNode) result;
} catch (NoSuchMethodException e) {
// all AST node classes have a Foo(AST) constructor
Index: dom/org/eclipse/jdt/core/dom/ASTNode.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java,v
retrieving revision 1.60
diff -u -r1.60 ASTNode.java
--- dom/org/eclipse/jdt/core/dom/ASTNode.java 25 May 2004 13:30:41 -0000 1.60
+++ dom/org/eclipse/jdt/core/dom/ASTNode.java 27 May 2004 13:23:38 -0000
@@ -1172,8 +1172,6 @@
* This node will be the common parent of all nodes added to
* this list.
*
- * @param cycleCheck true
if cycles should be
- * checked, and false
if cycles are not a risk
* @param property the property descriptor
* @since 3.0
*/
@@ -2004,7 +2002,7 @@
/**
* Postlude portion of the "3 step program" for replacing the
* old child of this node with another node.
- * See {@link #preChange(SimplePropertyDescriptor)} for details.
+ * See {@link #preValueChange(SimplePropertyDescriptor)} for details.
* @since 3.0
*/
final void postValueChange(SimplePropertyDescriptor property) {
Index: dom/org/eclipse/jdt/core/dom/BindingResolver.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingResolver.java,v
retrieving revision 1.28
diff -u -r1.28 BindingResolver.java
--- dom/org/eclipse/jdt/core/dom/BindingResolver.java 23 Apr 2004 18:42:24 -0000 1.28
+++ dom/org/eclipse/jdt/core/dom/BindingResolver.java 27 May 2004 13:23:38 -0000
@@ -51,7 +51,7 @@
*
A\nB\nC
has
* line end table {1, 3, 4}.
*
- * @param lineEndtable the line end table
+ * @param lineEndTable the line end table
*/
void setLineEndTable(int[] lineEndTable) {
if (lineEndTable == null) {
@@ -470,7 +470,7 @@
/**
* Returns the extended start position of the given node. Unlike
- * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()()},
+ * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()},
* the extended source range may include comments and whitespace
* immediately before or after the normal source range for the node.
*
@@ -490,7 +490,7 @@
/**
* Returns the extended source length of the given node. Unlike
- * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()()},
+ * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()},
* the extended source range may include comments and whitespace
* immediately before or after the normal source range for the node.
*
Index: dom/org/eclipse/jdt/core/dom/DefaultCommentMapper.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultCommentMapper.java,v
retrieving revision 1.14
diff -u -r1.14 DefaultCommentMapper.java
--- dom/org/eclipse/jdt/core/dom/DefaultCommentMapper.java 30 Mar 2004 17:28:59 -0000 1.14
+++ dom/org/eclipse/jdt/core/dom/DefaultCommentMapper.java 27 May 2004 13:23:38 -0000
@@ -140,7 +140,7 @@
/**
* Returns the extended start position of the given node. Unlike
- * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()()},
+ * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()},
* the extended source range may include comments and whitespace
* immediately before or after the normal source range for the node.
*
@@ -177,7 +177,7 @@
/**
* Returns the extended source length of the given node. Unlike
- * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()()},
+ * {@link ASTNode#getStartPosition()} and {@link ASTNode#getLength()},
* the extended source range may include comments and whitespace
* immediately before or after the normal source range for the node.
*
Index: dom/org/eclipse/jdt/core/dom/NodeEventHandler.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeEventHandler.java,v
retrieving revision 1.4
diff -u -r1.4 NodeEventHandler.java
--- dom/org/eclipse/jdt/core/dom/NodeEventHandler.java 23 Mar 2004 16:54:43 -0000 1.4
+++ dom/org/eclipse/jdt/core/dom/NodeEventHandler.java 27 May 2004 13:23:38 -0000
@@ -18,7 +18,7 @@
* that does nothing. Internal subclasses do all the real work.
*
*
- * @see AST#getNodeEventHandler()
+ * @see AST#getEventHandler()
*/
class NodeEventHandler {
Index: eval/org/eclipse/jdt/internal/eval/CodeSnippetConstantPool.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetConstantPool.java,v
retrieving revision 1.22
diff -u -r1.22 CodeSnippetConstantPool.java
--- eval/org/eclipse/jdt/internal/eval/CodeSnippetConstantPool.java 13 Jan 2004 15:48:43 -0000 1.22
+++ eval/org/eclipse/jdt/internal/eval/CodeSnippetConstantPool.java 27 May 2004 13:23:38 -0000
@@ -431,7 +431,7 @@
* Returns -1 if the @methodBinding is not a predefined methodBinding,
* the right index otherwise.
*
- * @param methodBindingorg.eclipse.jdt.internal.compiler.lookup.MethodBinding
+ * @param methodBinding org.eclipse.jdt.internal.compiler.lookup.MethodBinding
* @return int
*/
public int indexOfWellKnownMethods(MethodBinding methodBinding) {
@@ -683,7 +683,7 @@
* method descriptor. It can be either an interface method reference constant
* or a method reference constant.
*
- * @param MethodBinding aMethodBinding
+ * @param aMethodBinding MethodBinding
* @return int
*/
public int literalIndex(MethodBinding aMethodBinding) {
@@ -777,7 +777,7 @@
/**
* This method returns the index into the constantPool corresponding to the type descriptor.
*
- * @param TypeBinding aTypeBinding
+ * @param aTypeBinding TypeBinding
* @return int
*/
public int literalIndex(TypeBinding aTypeBinding) {
@@ -1355,9 +1355,9 @@
* This method returns the index into the constantPool corresponding
* nameAndType constant with nameIndex, typeIndex.
*
- * @param int nameIndex
- * @param int nameIndex
- * @param org.eclipse.jdt.internal.compiler.lookup.MethodBinding a methodBinding
+ * @param nameIndex int
+ * @param typeIndex int
+ * @param key org.eclipse.jdt.internal.compiler.lookup.MethodBinding
* @return int
*/
public int literalIndexForMethods(int nameIndex, int typeIndex, MethodBinding key) {
Index: eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java,v
retrieving revision 1.18
diff -u -r1.18 CodeSnippetEvaluator.java
--- eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java 13 Jan 2004 12:24:37 -0000 1.18
+++ eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java 27 May 2004 13:23:38 -0000
@@ -107,7 +107,7 @@
return CharOperation.concat(CODE_SNIPPET_CLASS_NAME_PREFIX, Integer.toString(EvaluationContext.CODE_SNIPPET_COUNTER + 1).toCharArray());
}
/**
- * @see Evaluator.
+ * @see Evaluator
*/
Compiler getCompiler(ICompilerRequestor compilerRequestor) {
Compiler compiler = null;
Index: eval/org/eclipse/jdt/internal/eval/CodeSnippetSkeleton.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetSkeleton.java,v
retrieving revision 1.23
diff -u -r1.23 CodeSnippetSkeleton.java
--- eval/org/eclipse/jdt/internal/eval/CodeSnippetSkeleton.java 13 Jan 2004 15:48:43 -0000 1.23
+++ eval/org/eclipse/jdt/internal/eval/CodeSnippetSkeleton.java 27 May 2004 13:23:38 -0000
@@ -83,7 +83,7 @@
return this.isConstructor;
}
/**
- * @see IGenericMethod#getArgumentNames()
+ * @see org.eclipse.jdt.internal.compiler.env.IGenericMethod#getArgumentNames()
*/
public char[][] getArgumentNames() {
return null;
Index: formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java,v
retrieving revision 1.118
diff -u -r1.118 CodeFormatterVisitor.java
--- formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java 12 May 2004 13:59:29 -0000 1.118
+++ formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java 27 May 2004 13:23:38 -0000
@@ -505,7 +505,6 @@
* @param block
* @param scope
* @param block_brace_position
- * @return
*/
private void formatBlock(Block block, BlockScope scope, String block_brace_position, boolean insertSpaceBeforeOpeningBrace) {
formatOpeningBrace(block_brace_position, insertSpaceBeforeOpeningBrace);
@@ -739,7 +738,7 @@
}
/**
- * @see org.eclipse.jdt.core.ICodeFormatter#format(java.lang.String, int, int, java.lang.String)
+ * @see org.eclipse.jdt.core.formatter.CodeFormatter#format(int, String, int, int, int, String)
*/
public TextEdit format(String string, ASTNode[] nodes) {
// reset the scribe
@@ -769,7 +768,7 @@
}
/**
- * @see org.eclipse.jdt.core.ICodeFormatter#format(java.lang.String, int, int, java.lang.String)
+ * @see org.eclipse.jdt.core.formatter.CodeFormatter#format(int, String, int, int, int, String)
*/
public TextEdit format(String string, CompilationUnitDeclaration compilationUnitDeclaration) {
// reset the scribe
@@ -799,7 +798,7 @@
}
/**
- * @see org.eclipse.jdt.core.ICodeFormatter#format(java.lang.String, int, int, java.lang.String)
+ * @see org.eclipse.jdt.core.formatter.CodeFormatter#format(int, String, int, int, int, String)
*/
public TextEdit format(String string, ConstructorDeclaration constructorDeclaration) {
// reset the scribe
@@ -840,7 +839,7 @@
}
/**
- * @see org.eclipse.jdt.core.ICodeFormatter#format(java.lang.String, int, int, java.lang.String)
+ * @see org.eclipse.jdt.core.formatter.CodeFormatter#format(int, String, int, int, int, String)
*/
public TextEdit format(String string, Expression expression) {
// reset the scribe
@@ -875,7 +874,7 @@
* Print comments to get proper line number
*/
this.scribe.printComment();
- final int line = scribe.line;
+ final int line = this.scribe.line;
this.scribe.printModifiers();
/*
@@ -1248,9 +1247,9 @@
*/
this.scribe.printComment();
if (DefaultCodeFormatterConstants.NEXT_LINE_ON_WRAP.equals(bracePosition)
- && (scribe.line > line || scribe.column >= this.preferences.page_width))
+ && (this.scribe.line > line || this.scribe.column >= this.preferences.page_width))
{
- scribe.printNewLine();
+ this.scribe.printNewLine();
}
}
@@ -2307,7 +2306,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.Break, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
+ * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.BreakStatement, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
*/
public boolean visit(BreakStatement breakStatement, BlockScope scope) {
@@ -2321,7 +2320,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.Case, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
+ * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.CaseStatement, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
*/
public boolean visit(CaseStatement caseStatement, BlockScope scope) {
if (caseStatement.constantExpression == null) {
@@ -2627,7 +2626,7 @@
* Print comments to get proper line number
*/
this.scribe.printComment();
- final int line = scribe.line;
+ final int line = this.scribe.line;
this.scribe.printModifiers();
this.scribe.space();
/*
@@ -2707,7 +2706,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.Continue, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
+ * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.ContinueStatement, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
*/
public boolean visit(ContinueStatement continueStatement, BlockScope scope) {
@@ -2944,7 +2943,7 @@
public boolean visit(ForStatement forStatement, BlockScope scope) {
this.scribe.printNextToken(TerminalTokens.TokenNamefor);
- final int line = scribe.line;
+ final int line = this.scribe.line;
this.scribe.printNextToken(TerminalTokens.TokenNameLPAREN, this.preferences.insert_space_before_opening_paren_in_for);
if (this.preferences.insert_space_after_opening_paren_in_for) {
@@ -3031,7 +3030,7 @@
public boolean visit(IfStatement ifStatement, BlockScope scope) {
this.scribe.printNextToken(TerminalTokens.TokenNameif);
- final int line = scribe.line;
+ final int line = this.scribe.line;
this.scribe.printNextToken(TerminalTokens.TokenNameLPAREN, this.preferences.insert_space_before_opening_paren_in_if);
if (this.preferences.insert_space_after_opening_paren_in_if) {
this.scribe.space();
@@ -3207,7 +3206,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.AbstractSyntaxTreeVisitorAdapter#visit(org.eclipse.jdt.internal.compiler.ast.IntLiteral, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
+ * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.IntLiteral, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
*/
public boolean visit(IntLiteral intLiteral, BlockScope scope) {
@@ -3272,7 +3271,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.AbstractSyntaxTreeVisitorAdapter#visit(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration, org.eclipse.jdt.internal.compiler.lookup.ClassScope)
+ * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration, org.eclipse.jdt.internal.compiler.lookup.ClassScope)
*/
public boolean visit(TypeDeclaration memberTypeDeclaration, ClassScope scope) {
format(memberTypeDeclaration);
@@ -3340,7 +3339,7 @@
* Print comments to get proper line number
*/
this.scribe.printComment();
- final int line = scribe.line;
+ final int line = this.scribe.line;
this.scribe.printModifiers();
this.scribe.space();
@@ -3741,7 +3740,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.AbstractSyntaxTreeVisitorAdapter#visit(org.eclipse.jdt.internal.compiler.ast.SingleNameReference, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
+ * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.SingleNameReference, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
*/
public boolean visit(SingleNameReference singleNameReference, BlockScope scope) {
@@ -3849,7 +3848,7 @@
formatOpeningBrace(switch_brace, this.preferences.insert_space_before_opening_brace_in_switch);
this.scribe.printNewLine();
- if (preferences.indent_switchstatements_compare_to_switch) {
+ if (this.preferences.indent_switchstatements_compare_to_switch) {
this.scribe.indent();
}
final Statement[] statements = switchStatement.statements;
@@ -3969,7 +3968,7 @@
if ((wasACase || wasAStatement) && this.preferences.indent_switchstatements_compare_to_cases) {
this.scribe.unIndent();
}
- if (preferences.indent_switchstatements_compare_to_switch) {
+ if (this.preferences.indent_switchstatements_compare_to_switch) {
this.scribe.unIndent();
}
this.scribe.printNewLine();
@@ -4163,7 +4162,7 @@
public boolean visit(WhileStatement whileStatement, BlockScope scope) {
this.scribe.printNextToken(TerminalTokens.TokenNamewhile);
- final int line = scribe.line;
+ final int line = this.scribe.line;
this.scribe.printNextToken(TerminalTokens.TokenNameLPAREN, this.preferences.insert_space_before_opening_paren_in_while);
if (this.preferences.insert_space_after_opening_paren_in_while) {
Index: formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java,v
retrieving revision 1.40
diff -u -r1.40 DefaultCodeFormatter.java
--- formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java 27 Apr 2004 20:20:47 -0000 1.40
+++ formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java 27 May 2004 13:23:38 -0000
@@ -62,7 +62,7 @@
}
/**
- * @see CodeFormatter#format(int, String, int, int[], String, Map)
+ * @see org.eclipse.jdt.core.formatter.CodeFormatter#format(int, java.lang.String, int, int, int, java.lang.String)
*/
public TextEdit format(
int kind,
Index: model/org/eclipse/jdt/core/CompletionProposal.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java,v
retrieving revision 1.9
diff -u -r1.9 CompletionProposal.java
--- model/org/eclipse/jdt/core/CompletionProposal.java 13 Apr 2004 19:32:23 -0000 1.9
+++ model/org/eclipse/jdt/core/CompletionProposal.java 27 May 2004 13:23:38 -0000
@@ -31,8 +31,8 @@
* The proposal is as follows: insert
* the {@linkplain #getCompletion() completion string} into the
* source file buffer, replacing the characters between
- * {@linkplain #getReplaceStart()() the start}
- * and {@linkplain #getReplaceEnd()() end}. The string
+ * {@linkplain #getReplaceStart() the start}
+ * and {@linkplain #getReplaceEnd() end}. The string
* can be arbitrary; for example, it might include not only the
* name of a method but a set of parentheses. Moreover, the source
* range may include source positions before or after the source
@@ -429,7 +429,7 @@
|| (kind > CompletionProposal.VARIABLE_DECLARATION)) {
throw new IllegalArgumentException();
}
- if (completion == null || completionLocation < 0) {
+ if (this.completion == null || completionLocation < 0) {
throw new IllegalArgumentException();
}
this.completionKind = kind;
@@ -880,7 +880,7 @@
* or not available or not relevant
*/
public char[][] findParameterNames(IProgressMonitor monitor) {
- if (!parameterNamesComputed) {
+ if (!this.parameterNamesComputed) {
this.parameterNamesComputed = true;
// TODO (jerome) - Missing implementation
}
Index: model/org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.java,v
retrieving revision 1.1
diff -u -r1.1 IDocumentElementRequestor.java
--- model/org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.java 10 Mar 2004 10:06:53 -0000 1.1
+++ model/org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.java 27 May 2004 13:23:38 -0000
@@ -239,7 +239,7 @@
* @param nameEnd - a source position corresponding to the last character of the name
* @param extendedTypeDimensionCount - the array dimension indicated on the variable,
* (for example, 'int v[]')
- * @param extendedTypeDimnesionEnd - a source position corresponding to the end of
+ * @param extendedTypeDimensionEnd - a source position corresponding to the end of
* the extened type dimension. This position should be -1 in case there is no extended
* dimension for the type.
*/
Index: model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java,v
retrieving revision 1.41
diff -u -r1.41 ClassFileWorkingCopy.java
--- model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java 19 Apr 2004 20:59:00 -0000 1.41
+++ model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java 27 May 2004 13:23:38 -0000
@@ -453,7 +453,7 @@
}
/**
- * @see IWorkingCopy#getSharedWorkingCopy(IProgressMonitor, IBufferFactory)
+ * @see IWorkingCopy#getSharedWorkingCopy(IProgressMonitor, IBufferFactory, IProblemRequestor)
* @deprecated
*/
public IJavaElement getSharedWorkingCopy(
@@ -487,8 +487,8 @@
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST, this));
}
- /**
- * @see IWorkingCopy#getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)
+ /* (non-Javadoc)
+ * @see org.eclipse.jdt.core.ICompilationUnit#getWorkingCopy(org.eclipse.jdt.core.WorkingCopyOwner, org.eclipse.jdt.core.IProblemRequestor, org.eclipse.core.runtime.IProgressMonitor)
*/
public ICompilationUnit getWorkingCopy(WorkingCopyOwner owner, IProblemRequestor problemRequestor, IProgressMonitor monitor) throws JavaModelException {
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST, this));
@@ -530,8 +530,8 @@
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST, this));
}
- /**
- * @see IWorkingCopy#reconcile(boolean, IProgressMonitor)
+ /* (non-Javadoc)
+ * @see org.eclipse.jdt.core.IWorkingCopy#reconcile(boolean, org.eclipse.core.runtime.IProgressMonitor)
*/
public void reconcile(
boolean forceProblemDetection,
@@ -540,7 +540,7 @@
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST, this));
}
- /**
+ /* (non-Javadoc)
* @see org.eclipse.jdt.core.IWorkingCopy#restore()
*/
public void restore() throws JavaModelException {
Index: model/org/eclipse/jdt/internal/core/ClasspathEntry.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java,v
retrieving revision 1.57
diff -u -r1.57 ClasspathEntry.java
--- model/org/eclipse/jdt/internal/core/ClasspathEntry.java 24 May 2004 22:17:05 -0000 1.57
+++ model/org/eclipse/jdt/internal/core/ClasspathEntry.java 27 May 2004 13:23:38 -0000
@@ -718,8 +718,8 @@
* be performed during the classpath setting operation (if validation fails, the classpath setting will not complete).
*
* @param javaProject the given java project
- * @param classpath a given classpath
- * @param outputLocation a given output location
+ * @param rawClasspath a given classpath
+ * @param projectOutputLocation a given output location
* @return a status object with code IStatus.OK
if
* the given classpath and output location are compatible, otherwise a status
* object indicating what is wrong with the classpath or output location
Index: model/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java,v
retrieving revision 1.36
diff -u -r1.36 CompilationUnitProblemFinder.java
--- model/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java 11 May 2004 11:26:37 -0000 1.36
+++ model/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java 27 May 2004 13:23:38 -0000
@@ -57,7 +57,7 @@
* specify the rules for handling problems (stop on first error or accumulate
* them all) and at the same time perform some actions such as opening a dialog
* in UI when compiling interactively.
- * @see org.eclipse.jdt.internal.compiler.api.problem.DefaultErrorHandlingPolicies
+ * @see org.eclipse.jdt.internal.compiler.DefaultErrorHandlingPolicies
*
* @param settings The settings to use for the resolution.
*
@@ -65,7 +65,7 @@
* Component which will receive and persist all compilation results and is intended
* to consume them as they are produced. Typically, in a batch compiler, it is
* responsible for writing out the actual .class files to the file system.
- * @see org.eclipse.jdt.internal.compiler.api.CompilationResult
+ * @see org.eclipse.jdt.internal.compiler.CompilationResult
*
* @param problemFactory org.eclipse.jdt.internal.compiler.api.problem.IProblemFactory
* Factory used inside the compiler to create problem descriptors. It allows the
Index: model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java,v
retrieving revision 1.37
diff -u -r1.37 CompilationUnitStructureRequestor.java
--- model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java 13 Jan 2004 15:48:42 -0000 1.37
+++ model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java 27 May 2004 13:23:38 -0000
@@ -202,7 +202,7 @@
}
/**
* Convert these type names to signatures.
- * @see Signature.
+ * @see Signature
*/
/* default */ static String[] convertTypeNamesToSigs(char[][] typeNames) {
if (typeNames == null)
Index: model/org/eclipse/jdt/internal/core/CreateElementInCUOperation.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateElementInCUOperation.java,v
retrieving revision 1.31
diff -u -r1.31 CreateElementInCUOperation.java
--- model/org/eclipse/jdt/internal/core/CreateElementInCUOperation.java 10 May 2004 08:50:31 -0000 1.31
+++ model/org/eclipse/jdt/internal/core/CreateElementInCUOperation.java 27 May 2004 13:23:38 -0000
@@ -259,8 +259,8 @@
* Inserts the given child into the given JDOM,
* based on the position settings of this operation.
*
- * @see createAfter(IJavaElement)
- * @see createBefore(IJavaElement)
+ * @see #createAfter(IJavaElement)
+ * @see #createBefore(IJavaElement)
* @deprecated JDOM is obsolete
*/
// TODO - JDOM - remove once model ported off of JDOM
@@ -318,7 +318,7 @@
*
IRegion
s of elements to be processed in each
* compilation unit.
*/
Index: model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java,v
retrieving revision 1.34
diff -u -r1.34 DeleteResourceElementsOperation.java
--- model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java 13 Jan 2004 15:48:42 -0000 1.34
+++ model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java 27 May 2004 13:23:38 -0000
@@ -100,7 +100,7 @@
return Util.bind("operation.deleteResourceProgress"); //$NON-NLS-1$
}
/**
- * @see MultiOperation. This method delegate to deleteResource
or
+ * @see MultiOperation This method delegate to deleteResource
or
* deletePackageFragment
depending on the type of element
.
*/
protected void processElement(IJavaElement element) throws JavaModelException {
Index: model/org/eclipse/jdt/internal/core/ImportDeclarationElementInfo.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ImportDeclarationElementInfo.java,v
retrieving revision 1.2
diff -u -r1.2 ImportDeclarationElementInfo.java
--- model/org/eclipse/jdt/internal/core/ImportDeclarationElementInfo.java 13 Jan 2004 15:48:43 -0000 1.2
+++ model/org/eclipse/jdt/internal/core/ImportDeclarationElementInfo.java 27 May 2004 13:23:38 -0000
@@ -14,7 +14,7 @@
/**
* Element info for IImportDeclaration elements.
- * @see IImportDeclaration
+ * @see org.eclipse.jdt.core.IImportDeclaration
*/
public class ImportDeclarationElementInfo extends MemberElementInfo implements ISourceImport{
Index: model/org/eclipse/jdt/internal/core/JarPackageFragment.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JarPackageFragment.java,v
retrieving revision 1.24
diff -u -r1.24 JarPackageFragment.java
--- model/org/eclipse/jdt/internal/core/JarPackageFragment.java 13 Jan 2004 15:48:42 -0000 1.24
+++ model/org/eclipse/jdt/internal/core/JarPackageFragment.java 27 May 2004 13:23:38 -0000
@@ -26,7 +26,7 @@
/**
* A package fragment that represents a package fragment found in a JAR.
*
- * @see IPackageFragment
+ * @see org.eclipse.jdt.core.IPackageFragment
*/
class JarPackageFragment extends PackageFragment implements SuffixConstants {
/**
@@ -90,7 +90,7 @@
return ((JarPackageFragmentInfo) getElementInfo()).containsJavaResources();
}
/**
- * @see IPackageFragment
+ * @see org.eclipse.jdt.core.IPackageFragment
*/
public ICompilationUnit createCompilationUnit(String cuName, String contents, boolean force, IProgressMonitor monitor) throws JavaModelException {
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.READ_ONLY, this));
@@ -112,7 +112,7 @@
}
}
/**
- * @see IPackageFragment
+ * @see org.eclipse.jdt.core.IPackageFragment
*/
public IClassFile[] getClassFiles() throws JavaModelException {
ArrayList list = getChildrenOfType(CLASS_FILE);
@@ -122,7 +122,7 @@
}
/**
* A jar package fragment never contains compilation units.
- * @see IPackageFragment
+ * @see org.eclipse.jdt.core.IPackageFragment
*/
public ICompilationUnit[] getCompilationUnits() {
return NO_COMPILATION_UNITS;
Index: model/org/eclipse/jdt/internal/core/JavaElementDelta.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElementDelta.java,v
retrieving revision 1.42
diff -u -r1.42 JavaElementDelta.java
--- model/org/eclipse/jdt/internal/core/JavaElementDelta.java 25 May 2004 14:23:14 -0000 1.42
+++ model/org/eclipse/jdt/internal/core/JavaElementDelta.java 27 May 2004 13:23:38 -0000
@@ -40,11 +40,11 @@
*/
protected int resourceDeltasCounter;
/**
- * @see #getMovedFromHandle()
+ * @see #getMovedFromElement()
*/
protected IJavaElement fMovedFromHandle = null;
/**
- * @see #getMovedToHandle()
+ * @see #getMovedToElement()
*/
protected IJavaElement fMovedToHandle = null;
/**
Index: model/org/eclipse/jdt/internal/core/JavaModelInfo.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelInfo.java,v
retrieving revision 1.15
diff -u -r1.15 JavaModelInfo.java
--- model/org/eclipse/jdt/internal/core/JavaModelInfo.java 13 Jan 2004 15:48:42 -0000 1.15
+++ model/org/eclipse/jdt/internal/core/JavaModelInfo.java 27 May 2004 13:23:38 -0000
@@ -17,7 +17,7 @@
* Implementation of IJavaModel. A Java Model is specific to a
* workspace.
*
- * @see IJavaModel
+ * @see org.eclipse.jdt.core.IJavaModel
*/
public class JavaModelInfo extends OpenableElementInfo {
Index: model/org/eclipse/jdt/internal/core/JavaModelManager.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java,v
retrieving revision 1.234
diff -u -r1.234 JavaModelManager.java
--- model/org/eclipse/jdt/internal/core/JavaModelManager.java 27 May 2004 09:44:55 -0000 1.234
+++ model/org/eclipse/jdt/internal/core/JavaModelManager.java 27 May 2004 13:23:38 -0000
@@ -635,7 +635,7 @@
*/
public static class PluginPreferencesListener implements Preferences.IPropertyChangeListener {
/**
- * @see org.eclipse.core.runtime.Preferences.IPropertyChangeListener#propertyChange(PropertyChangeEvent)
+ * @see org.eclipse.core.runtime.Preferences.IPropertyChangeListener#propertyChange(Preferences.PropertyChangeEvent)
*/
public void propertyChange(Preferences.PropertyChangeEvent event) {
Index: model/org/eclipse/jdt/internal/core/MemberElementInfo.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/MemberElementInfo.java,v
retrieving revision 1.8
diff -u -r1.8 MemberElementInfo.java
--- model/org/eclipse/jdt/internal/core/MemberElementInfo.java 13 Jan 2004 15:48:42 -0000 1.8
+++ model/org/eclipse/jdt/internal/core/MemberElementInfo.java 27 May 2004 13:23:38 -0000
@@ -17,7 +17,7 @@
/**
* The modifiers associated with this member.
*
- * @see IConstants
+ * @see org.eclipse.jdt.internal.compiler.env.IConstants
*/
protected int flags;
Index: model/org/eclipse/jdt/internal/core/MultiOperation.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/MultiOperation.java,v
retrieving revision 1.12
diff -u -r1.12 MultiOperation.java
--- model/org/eclipse/jdt/internal/core/MultiOperation.java 13 Jan 2004 15:48:42 -0000 1.12
+++ model/org/eclipse/jdt/internal/core/MultiOperation.java 27 May 2004 13:23:38 -0000
@@ -30,7 +30,7 @@
* Table specifying insertion positions for elements being
* copied/moved/renamed. Keyed by elements being processed, and
* values are the corresponding insertion point.
- * @see processElements(IProgressMonitor)
+ * @see #processElements()
*/
protected Map insertBeforeElements = new HashMap(1);
/**
@@ -114,11 +114,11 @@
* values are the new name.
*/
private void initializeRenamings() {
- if (this.renamingsList != null && this.renamingsList.length == elementsToProcess.length) {
+ if (this.renamingsList != null && this.renamingsList.length == this.elementsToProcess.length) {
this.renamings = new HashMap(this.renamingsList.length);
for (int i = 0; i < this.renamingsList.length; i++) {
if (this.renamingsList[i] != null) {
- this.renamings.put(elementsToProcess[i], this.renamingsList[i]);
+ this.renamings.put(this.elementsToProcess[i], this.renamingsList[i]);
}
}
}
@@ -151,13 +151,13 @@
* be completed.
*/
protected void processElements() throws JavaModelException {
- beginTask(getMainTaskName(), elementsToProcess.length);
+ beginTask(getMainTaskName(), this.elementsToProcess.length);
IJavaModelStatus[] errors = new IJavaModelStatus[3];
int errorsCounter = 0;
- for (int i = 0; i < elementsToProcess.length; i++) {
+ for (int i = 0; i < this.elementsToProcess.length; i++) {
try {
- verify(elementsToProcess[i]);
- processElement(elementsToProcess[i]);
+ verify(this.elementsToProcess[i]);
+ processElement(this.elementsToProcess[i]);
} catch (JavaModelException jme) {
if (errorsCounter == errors.length) {
// resize
Index: model/org/eclipse/jdt/internal/core/PackageFragment.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java,v
retrieving revision 1.60
diff -u -r1.60 PackageFragment.java
--- model/org/eclipse/jdt/internal/core/PackageFragment.java 18 May 2004 11:12:19 -0000 1.60
+++ model/org/eclipse/jdt/internal/core/PackageFragment.java 27 May 2004 13:23:38 -0000
@@ -166,7 +166,7 @@
}
/**
* @see IPackageFragment#getClassFile(String)
- * @exception IllegalArgumentExcpetion if the name does not end with ".class"
+ * @exception IllegalArgumentException if the name does not end with ".class"
*/
public IClassFile getClassFile(String classFileName) {
if (!org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(classFileName)) {
@@ -193,7 +193,7 @@
}
/**
* @see IPackageFragment#getCompilationUnit(String)
- * @exception IllegalArgumentExcpetion if the name does not end with ".java"
+ * @exception IllegalArgumentException if the name does not end with ".java"
*/
public ICompilationUnit getCompilationUnit(String cuName) {
if (!org.eclipse.jdt.internal.compiler.util.Util.isJavaFileName(cuName)) {
Index: model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java,v
retrieving revision 1.98
diff -u -r1.98 PackageFragmentRoot.java
--- model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java 17 May 2004 11:26:25 -0000 1.98
+++ model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java 27 May 2004 13:23:38 -0000
@@ -318,7 +318,7 @@
* Returns the root's kind - K_SOURCE or K_BINARY, defaults
* to K_SOURCE if it is not on the classpath.
*
- * @exception NotPresentException if the project and root do
+ * @exception JavaModelException if the project and root do
* not exist.
*/
protected int determineKind(IResource underlyingResource) throws JavaModelException {
Index: model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java,v
retrieving revision 1.32
diff -u -r1.32 PackageFragmentRootInfo.java
--- model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java 17 May 2004 11:26:25 -0000 1.32
+++ model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java 27 May 2004 13:23:38 -0000
@@ -48,7 +48,7 @@
* Create and initialize a new instance of the receiver
*/
public PackageFragmentRootInfo() {
- fNonJavaResources = null;
+ this.fNonJavaResources = null;
}
/**
* Starting at this folder, create non-java resources for this package fragment root
@@ -104,8 +104,6 @@
}
/**
* Compute the non-package resources of this package fragment root.
- *
- * @exception JavaModelException The resource associated with this package fragment root does not exist
*/
private Object[] computeNonJavaResources(IJavaProject project, IResource underlyingResource, PackageFragmentRoot handle) {
Object[] nonJavaResources = NO_NON_JAVA_RESOURCES;
@@ -129,10 +127,10 @@
* Returns an array of non-java resources contained in the receiver.
*/
synchronized Object[] getNonJavaResources(IJavaProject project, IResource underlyingResource, PackageFragmentRoot handle) {
- Object[] nonJavaResources = fNonJavaResources;
+ Object[] nonJavaResources = this.fNonJavaResources;
if (nonJavaResources == null) {
nonJavaResources = this.computeNonJavaResources(project, underlyingResource, handle);
- fNonJavaResources = nonJavaResources;
+ this.fNonJavaResources = nonJavaResources;
}
return nonJavaResources;
}
@@ -140,7 +138,7 @@
* Returns the kind of this root.
*/
public int getRootKind() {
- return fRootKind;
+ return this.fRootKind;
}
/**
* Retuns the SourceMapper for this root, or null
@@ -162,13 +160,13 @@
* Set the fNonJavaResources to res value
*/
void setNonJavaResources(Object[] resources) {
- fNonJavaResources = resources;
+ this.fNonJavaResources = resources;
}
/**
* Sets the kind of this root.
*/
protected void setRootKind(int newRootKind) {
- fRootKind = newRootKind;
+ this.fRootKind = newRootKind;
}
/**
* Sets the SourceMapper for this root.
Index: model/org/eclipse/jdt/internal/core/SearchableEnvironment.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SearchableEnvironment.java,v
retrieving revision 1.39
diff -u -r1.39 SearchableEnvironment.java
--- model/org/eclipse/jdt/internal/core/SearchableEnvironment.java 26 May 2004 15:06:42 -0000 1.39
+++ model/org/eclipse/jdt/internal/core/SearchableEnvironment.java 27 May 2004 13:23:38 -0000
@@ -150,7 +150,7 @@
}
/**
- * @see INameEnvironment#findType(char[], char[][])
+ * @see org.eclipse.jdt.internal.compiler.env.INameEnvironment#findType(char[], char[][])
*/
public NameEnvironmentAnswer findType(char[] name, char[][] packageName) {
if (name == null) return null;
Index: model/org/eclipse/jdt/internal/core/SortElementBuilder.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementBuilder.java,v
retrieving revision 1.27
diff -u -r1.27 SortElementBuilder.java
--- model/org/eclipse/jdt/internal/core/SortElementBuilder.java 23 Apr 2004 17:38:46 -0000 1.27
+++ model/org/eclipse/jdt/internal/core/SortElementBuilder.java 27 May 2004 13:23:38 -0000
@@ -982,7 +982,7 @@
}
void sort() {
- compilationUnit.sort();
+ this.compilationUnit.sort();
}
void mapNextPosition(SortJavaElement node, int start, int end) {
@@ -999,7 +999,7 @@
this.positionsToMapIndex = i;
}
/**
- * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterClass(int, int, char, int, int, char, char)
+ * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterClass(int, int, char[], int, int, char[], char[][])
*/
public void enterClass(
int declarationStart,
@@ -1019,11 +1019,11 @@
*/
public void enterCompilationUnit() {
this.stack = new Stack();
- push(compilationUnit = new SortCompilationUnit(0));
+ push(this.compilationUnit = new SortCompilationUnit(0));
}
/**
- * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterConstructor(int, int, char, int, int, char, char, char)
+ * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterConstructor(int, int, char[], int, int, char[][], char[][], char[][])
*/
public void enterConstructor(
int declarationStart,
@@ -1042,7 +1042,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterField(int, int, char, char, int, int)
+ * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterField(int, int, char[], char[], int, int)
*/
public void enterField(
int declarationStart,
@@ -1084,7 +1084,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterInterface(int, int, char, int, int, char)
+ * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterInterface(int, int, char[], int, int, char[][])
*/
public void enterInterface(
int declarationStart,
@@ -1099,7 +1099,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterMethod(int, int, char, char, int, int, char, char, char)
+ * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#enterMethod(int, int, char[], char[], int, int, char[][], char[][], char[][])
*/
public void enterMethod(
int declarationStart,
@@ -1141,7 +1141,7 @@
}
/**
- * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#exitField(int, int)
+ * @see org.eclipse.jdt.internal.compiler.ISourceElementRequestor#exitField(int, int, int)
*/
public void exitField(int initializationStart, int declarationEnd, int declarationSourceEnd) {
int normalizedDeclarationSourceEnd = this.normalizeSourceEnd(declarationSourceEnd);
Index: model/org/eclipse/jdt/internal/core/SourceMapper.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMapper.java,v
retrieving revision 1.86
diff -u -r1.86 SourceMapper.java
--- model/org/eclipse/jdt/internal/core/SourceMapper.java 24 Mar 2004 10:17:42 -0000 1.86
+++ model/org/eclipse/jdt/internal/core/SourceMapper.java 27 May 2004 13:23:38 -0000
@@ -283,7 +283,7 @@
* Converts these type names to unqualified signatures. This needs to be done in order to be consistent
* with the way the source range is retrieved.
* @see SourceMapper#getUnqualifiedMethodHandle
- * @see Signature.
+ * @see Signature
*/
private String[] convertTypeNamesToSigs(char[][] typeNames) {
if (typeNames == null)
@@ -1152,7 +1152,7 @@
/**
* Sets the mapping for this method to its parameter names.
*
- * @see fParameterNames
+ * @see #fParameterNames
*/
protected void setMethodParameterNames(
IMethod method,
@@ -1167,7 +1167,7 @@
* Sets the mapping for this element to its source ranges for its source range
* and name range.
*
- * @see fSourceRanges
+ * @see #fSourceRanges
*/
protected void setSourceRange(
IJavaElement element,
Index: model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java,v
retrieving revision 1.82
diff -u -r1.82 TypeHierarchy.java
--- model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java 17 May 2004 11:26:25 -0000 1.82
+++ model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java 27 May 2004 13:23:38 -0000
@@ -420,7 +420,7 @@
return getAllSubtypesForType(type);
}
/**
- * @see getAllSubtypes(IType)
+ * @see #getAllSubtypes(IType)
*/
private IType[] getAllSubtypesForType(IType type) {
ArrayList subTypes = new ArrayList();
@@ -540,7 +540,7 @@
}
/**
* Assumes that the type is an interface
- * @see getExtendingInterfaces
+ * @see #getExtendingInterfaces
*/
private IType[] getExtendingInterfaces0(IType extendedInterface) {
Iterator iter = this.typeToSuperInterfaces.keySet().iterator();
@@ -575,7 +575,7 @@
}
/**
* Assumes that the type is an interface
- * @see getImplementingClasses
+ * @see #getImplementingClasses
*/
private IType[] getImplementingClasses0(IType interfce) {
@@ -1213,7 +1213,7 @@
this.progressMonitor = monitor;
if (monitor != null) {
if (this.focusType != null) {
- monitor.beginTask(Util.bind("hierarchy.creatingOnType", focusType.getFullyQualifiedName()), 100); //$NON-NLS-1$
+ monitor.beginTask(Util.bind("hierarchy.creatingOnType", this.focusType.getFullyQualifiedName()), 100); //$NON-NLS-1$
} else {
monitor.beginTask(Util.bind("hierarchy.creating"), 100); //$NON-NLS-1$
}
@@ -1281,12 +1281,12 @@
Hashtable hashtable2 = new Hashtable();
int count = 0;
- if(focusType != null) {
+ if(this.focusType != null) {
Integer index = new Integer(count++);
- hashtable.put(focusType, index);
- hashtable2.put(index, focusType);
+ hashtable.put(this.focusType, index);
+ hashtable2.put(index, this.focusType);
}
- Object[] types = classToSuperclass.keySet().toArray();
+ Object[] types = this.classToSuperclass.keySet().toArray();
for (int i = 0; i < types.length; i++) {
Object t = types[i];
if(hashtable.get(t) == null) {
@@ -1294,14 +1294,14 @@
hashtable.put(t, index);
hashtable2.put(index, t);
}
- Object superClass = classToSuperclass.get(t);
+ Object superClass = this.classToSuperclass.get(t);
if(superClass != null && hashtable.get(superClass) == null) {
Integer index = new Integer(count++);
hashtable.put(superClass, index);
hashtable2.put(index, superClass);
}
}
- types = typeToSuperInterfaces.keySet().toArray();
+ types = this.typeToSuperInterfaces.keySet().toArray();
for (int i = 0; i < types.length; i++) {
Object t = types[i];
if(hashtable.get(t) == null) {
@@ -1309,7 +1309,7 @@
hashtable.put(t, index);
hashtable2.put(index, t);
}
- Object[] sp = (Object[])typeToSuperInterfaces.get(t);
+ Object[] sp = (Object[])this.typeToSuperInterfaces.get(t);
if(sp != null) {
for (int j = 0; j < sp.length; j++) {
Object superInterface = sp[j];
@@ -1326,23 +1326,23 @@
// save general info
byte generalInfo = 0;
- if(computeSubtypes) {
+ if(this.computeSubtypes) {
generalInfo |= COMPUTE_SUBTYPES;
}
output.write(generalInfo);
// save project
- if(project != null) {
- output.write(project.getHandleIdentifier().getBytes());
+ if(this.project != null) {
+ output.write(this.project.getHandleIdentifier().getBytes());
}
output.write(SEPARATOR1);
// save missing types
- for (int i = 0; i < missingTypes.size(); i++) {
+ for (int i = 0; i < this.missingTypes.size(); i++) {
if(i != 0) {
output.write(SEPARATOR2);
}
- output.write(((String)missingTypes.get(i)).getBytes());
+ output.write(((String)this.missingTypes.get(i)).getBytes());
}
output.write(SEPARATOR1);
@@ -1354,16 +1354,16 @@
// n bytes
output.write(t.getHandleIdentifier().getBytes());
output.write(SEPARATOR4);
- output.write(flagsToBytes((Integer)typeFlags.get(t)));
+ output.write(flagsToBytes((Integer)this.typeFlags.get(t)));
output.write(SEPARATOR4);
byte info = CLASS;
- if(focusType != null && focusType.equals(t)) {
+ if(this.focusType != null && this.focusType.equals(t)) {
info |= COMPUTED_FOR;
}
- if(interfaces.contains(t)) {
+ if(this.interfaces.contains(t)) {
info |= INTERFACE;
}
- if(rootClasses.contains(t)) {
+ if(this.rootClasses.contains(t)) {
info |= ROOT;
}
output.write(info);
@@ -1371,10 +1371,10 @@
output.write(SEPARATOR1);
// save superclasses
- types = classToSuperclass.keySet().toArray();
+ types = this.classToSuperclass.keySet().toArray();
for (int i = 0; i < types.length; i++) {
IJavaElement key = (IJavaElement)types[i];
- IJavaElement value = (IJavaElement)classToSuperclass.get(key);
+ IJavaElement value = (IJavaElement)this.classToSuperclass.get(key);
output.write(((Integer)hashtable.get(key)).toString().getBytes());
output.write('>');
@@ -1384,10 +1384,10 @@
output.write(SEPARATOR1);
// save superinterfaces
- types = typeToSuperInterfaces.keySet().toArray();
+ types = this.typeToSuperInterfaces.keySet().toArray();
for (int i = 0; i < types.length; i++) {
IJavaElement key = (IJavaElement)types[i];
- IJavaElement[] values = (IJavaElement[])typeToSuperInterfaces.get(key);
+ IJavaElement[] values = (IJavaElement[])this.typeToSuperInterfaces.get(key);
if(values.length > 0) {
output.write(((Integer)hashtable.get(key)).toString().getBytes());
Index: model/org/eclipse/jdt/internal/core/jdom/AbstractDOMBuilder.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/AbstractDOMBuilder.java,v
retrieving revision 1.15
diff -u -r1.15 AbstractDOMBuilder.java
--- model/org/eclipse/jdt/internal/core/jdom/AbstractDOMBuilder.java 10 May 2004 08:50:28 -0000 1.15
+++ model/org/eclipse/jdt/internal/core/jdom/AbstractDOMBuilder.java 27 May 2004 13:23:38 -0000
@@ -83,7 +83,7 @@
*
* A line separator might corresponds to several characters in the source. * - * @see IDocumentElementRequestor#acceptLineSeparatorPositions(int[]) + * @see org.eclipse.jdt.internal.compiler.IDocumentElementRequestor#acceptLineSeparatorPositions(int[]) */ public void acceptLineSeparatorPositions(int[] positions) { if (positions != null) { @@ -147,7 +147,7 @@ return (IDOMCompilationUnit)fNode; } /** - * @see IDocumentElementRequestor#enterClass(int, int[], int, int, int, char[], int, int, char[], int, int, char[][], int[], int[], int) + * @see org.eclipse.jdt.internal.compiler.IDocumentElementRequestor#enterClass(int, int[], int, int, int, char[], int, int, char[], int, int, char[][], int[], int[], int) */ public void enterCompilationUnit() { if (fBuildingCU) { @@ -159,7 +159,7 @@ * Finishes the configuration of the compilation unit DOM object which * was created by a previous enterCompilationUnit call. * - * @see IDocumentElementRequestor#exitCompilationUnit(int) + * @see org.eclipse.jdt.internal.compiler.IDocumentElementRequestor#exitCompilationUnit(int) */ public void exitCompilationUnit(int declarationEnd) { DOMCompilationUnit cu = (DOMCompilationUnit) fStack.pop(); Index: model/org/eclipse/jdt/internal/core/jdom/DOMField.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMField.java,v retrieving revision 1.22 diff -u -r1.22 DOMField.java --- model/org/eclipse/jdt/internal/core/jdom/DOMField.java 10 May 2004 08:50:28 -0000 1.22 +++ model/org/eclipse/jdt/internal/core/jdom/DOMField.java 27 May 2004 13:23:38 -0000 @@ -546,7 +546,7 @@ setMask(MASK_FIELD_HAS_INITIALIZER, hasInitializer); } /** - * @see IDOMField#setInitializer(char[]) + * @see IDOMField#setInitializer(String) */ public void setInitializer(String initializer) { becomeDetailed(); @@ -570,7 +570,7 @@ setMask(MASK_FIELD_IS_VARIABLE_DECLARATOR, isVariableDeclarator); } /** - * @see IDOMField#setName(char[]) + * @see IDOMField#setName(String) */ public void setName(String name) throws IllegalArgumentException { if (name == null) { @@ -581,7 +581,7 @@ } } /** - * @see IDOMField#setType(char[]) + * @see IDOMField#setType(String) */ public void setType(String typeName) throws IllegalArgumentException { if (typeName == null) { Index: model/org/eclipse/jdt/internal/core/jdom/DOMImport.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMImport.java,v retrieving revision 1.19 diff -u -r1.19 DOMImport.java --- model/org/eclipse/jdt/internal/core/jdom/DOMImport.java 10 May 2004 08:50:28 -0000 1.19 +++ model/org/eclipse/jdt/internal/core/jdom/DOMImport.java 27 May 2004 13:23:38 -0000 @@ -150,7 +150,7 @@ return new DOMImport(); } /** - * @see IDOMNode#setName(char[]) + * @see IDOMNode#setName(String) */ public void setName(String name) { if (name == null) { Index: model/org/eclipse/jdt/internal/core/jdom/DOMInitializer.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMInitializer.java,v retrieving revision 1.21 diff -u -r1.21 DOMInitializer.java --- model/org/eclipse/jdt/internal/core/jdom/DOMInitializer.java 10 May 2004 08:50:28 -0000 1.21 +++ model/org/eclipse/jdt/internal/core/jdom/DOMInitializer.java 27 May 2004 13:23:38 -0000 @@ -118,7 +118,7 @@ // nothing to do } /** - * @see DOMNode#appendSimpleContents(CharArrayBuffer) + * @see DOMMember#appendSimpleContents(CharArrayBuffer) */ protected void appendSimpleContents(CharArrayBuffer buffer) { // append eveything before my name @@ -180,7 +180,7 @@ return IDOMNode.INITIALIZER; } /** - * @see IDOMNode#isSigantureEqual(IDOMNode). + * @see IDOMNode#isSignatureEqual(IDOMNode) * *
This method always answers false since an initializer * does not have a signature. @@ -202,7 +202,7 @@ offsetRange(fBodyRange, offset); } /** - * @see IDOMInitializer#setBody(char[]) + * @see IDOMInitializer#setBody(String) */ public void setBody(String body) { becomeDetailed(); Index: model/org/eclipse/jdt/internal/core/jdom/DOMMember.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMMember.java,v retrieving revision 1.22 diff -u -r1.22 DOMMember.java --- model/org/eclipse/jdt/internal/core/jdom/DOMMember.java 10 May 2004 08:50:28 -0000 1.22 +++ model/org/eclipse/jdt/internal/core/jdom/DOMMember.java 27 May 2004 13:23:38 -0000 @@ -235,9 +235,6 @@ /** * Returns the location of the first character in the member's declaration * section. - * - * @see DOMMember#getMemberDeclarationContents() - * @see DOMMember#getFragmentedContents() */ protected abstract int getMemberDeclarationStartPosition(); /** Index: model/org/eclipse/jdt/internal/core/jdom/DOMMethod.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMMethod.java,v retrieving revision 1.22 diff -u -r1.22 DOMMethod.java --- model/org/eclipse/jdt/internal/core/jdom/DOMMethod.java 10 May 2004 08:50:28 -0000 1.22 +++ model/org/eclipse/jdt/internal/core/jdom/DOMMethod.java 27 May 2004 13:23:38 -0000 @@ -350,7 +350,7 @@ } /** - * @see DOMNode#appendSimpleContents(CharArrayBuffer) + * @see DOMMember#appendSimpleContents(CharArrayBuffer) */ protected void appendSimpleContents(CharArrayBuffer buffer) { // append eveything before my name @@ -519,7 +519,7 @@ return getMask(MASK_RETURN_TYPE_ALTERED); } /** - * @see IDOMNode#isSigantureEqual(IDOMNode). + * @see IDOMNode#isSignatureEqual(IDOMNode) * *
Two methods have equal signatures if there names are the same * and their parameter types are the same. @@ -609,7 +609,7 @@ fragment(); } /** - * @see IDOMMethod#setExceptions(char[][]) + * @see IDOMMethod#setExceptions(String[]) */ public void setExceptions(String[] names) { becomeDetailed(); @@ -639,7 +639,7 @@ } } /** - * @see IDOMMethod#setParameters(char[][], char[][]) + * @see IDOMMethod#setParameters(String[], String[]) */ public void setParameters(String[] types, String[] names) throws IllegalArgumentException { becomeDetailed(); @@ -676,7 +676,7 @@ fragment(); } /** - * @see IDOMMethod#setReturnType(char[]) + * @see IDOMMethod#setReturnType(String) */ public void setReturnType(String name) throws IllegalArgumentException { if (name == null) { Index: model/org/eclipse/jdt/internal/core/jdom/DOMNode.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMNode.java,v retrieving revision 1.22 diff -u -r1.22 DOMNode.java --- model/org/eclipse/jdt/internal/core/jdom/DOMNode.java 10 May 2004 08:50:28 -0000 1.22 +++ model/org/eclipse/jdt/internal/core/jdom/DOMNode.java 27 May 2004 13:23:38 -0000 @@ -751,7 +751,7 @@ return getMask(MASK_NAME_ALTERED); } /** - * @see IDOMNode#isSignatureEqual(IDOMNode). + * @see IDOMNode#isSignatureEqual(IDOMNode) * *
By default, the signatures of two nodes are equal if their
* type and names are equal. Node types that have other requirements
Index: model/org/eclipse/jdt/internal/core/jdom/DOMType.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMType.java,v
retrieving revision 1.33
diff -u -r1.33 DOMType.java
--- model/org/eclipse/jdt/internal/core/jdom/DOMType.java 10 May 2004 08:50:28 -0000 1.33
+++ model/org/eclipse/jdt/internal/core/jdom/DOMType.java 27 May 2004 13:23:38 -0000
@@ -350,7 +350,7 @@
}
/**
- * @see DOMNode#appendSimpleContents(CharArrayBuffer)
+ * @see DOMMember#appendSimpleContents(CharArrayBuffer)
*/
protected void appendSimpleContents(CharArrayBuffer buffer) {
// append eveything before my name
@@ -642,7 +642,7 @@
* as fragmented, since the names of the constructors must reflect the name
* of this type.
*
- * @see IDOMNode#setName(char[])
+ * @see IDOMNode#setName(String)
*/
public void setName(String name) throws IllegalArgumentException {
if (name == null) {
@@ -670,7 +670,7 @@
fOpenBodyRange[0] = start;
}
/**
- * @see IDOMType#setSuperclass(char[])
+ * @see IDOMType#setSuperclass(String)
*/
public void setSuperclass(String superclassName) {
becomeDetailed();
Index: model/org/eclipse/jdt/internal/core/util/CharArrayBuffer.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CharArrayBuffer.java,v
retrieving revision 1.9
diff -u -r1.9 CharArrayBuffer.java
--- model/org/eclipse/jdt/internal/core/util/CharArrayBuffer.java 13 Jan 2004 15:48:44 -0000 1.9
+++ model/org/eclipse/jdt/internal/core/util/CharArrayBuffer.java 27 May 2004 13:23:38 -0000
@@ -136,7 +136,7 @@
/**
* Appends the given char. Given for convenience.
*
- * @param src - a char which is appended to the end of the buffer.
+ * @param c - a char which is appended to the end of the buffer.
*/
public CharArrayBuffer append(char c) {
append(new char[] {c}, 0, 1);
Index: model/org/eclipse/jdt/internal/core/util/Disassembler.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java,v
retrieving revision 1.39
diff -u -r1.39 Disassembler.java
--- model/org/eclipse/jdt/internal/core/util/Disassembler.java 13 Apr 2004 18:08:57 -0000 1.39
+++ model/org/eclipse/jdt/internal/core/util/Disassembler.java 27 May 2004 13:23:38 -0000
@@ -408,14 +408,22 @@
}
/**
- * @see org.eclipse.jdt.core.util.IClassFileDisassembler#disassemble(org.eclipse.jdt.core.util.IClassFileReader, java.lang.String)
+ * @see #disassemble(org.eclipse.jdt.core.util.IClassFileReader, java.lang.String, int)
*/
public String disassemble(IClassFileReader classFileReader, String lineSeparator) {
return disassemble(classFileReader, lineSeparator, ClassFileBytesDisassembler.DEFAULT);
}
/**
- * @see org.eclipse.jdt.core.util.IClassFileDisassembler#disassemble(org.eclipse.jdt.core.util.IClassFileReader, java.lang.String, int)
+ * Answers back the disassembled string of the IClassFileReader according to the
+ * mode.
+ * This is an output quite similar to the javap tool.
+ *
+ * @param classFileReader The classFileReader to be disassembled
+ * @param lineSeparator the line separator to use.
+ * @param mode the mode used to disassemble the IClassFileReader
+ *
+ * @return the disassembled string of the IClassFileReader according to the mode
*/
public String disassemble(IClassFileReader classFileReader, String lineSeparator, int mode) {
if (classFileReader == null) return EMPTY_OUTPUT;
Index: model/org/eclipse/jdt/internal/core/util/FieldInfo.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/FieldInfo.java,v
retrieving revision 1.7
diff -u -r1.7 FieldInfo.java
--- model/org/eclipse/jdt/internal/core/util/FieldInfo.java 13 Jan 2004 15:48:44 -0000 1.7
+++ model/org/eclipse/jdt/internal/core/util/FieldInfo.java 27 May 2004 13:23:38 -0000
@@ -37,7 +37,7 @@
/**
* @param classFileBytes byte[]
- * @param offsets int[]
+ * @param constantPool IConstantPool
* @param offset int
*/
public FieldInfo(byte classFileBytes[], IConstantPool constantPool, int offset)
@@ -65,7 +65,7 @@
this.attributes = new IClassFileAttribute[this.attributesCount];
}
int attributesIndex = 0;
- for (int i = 0; i < attributesCount; i++) {
+ for (int i = 0; i < this.attributesCount; i++) {
constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset));
if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) {
throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY);
@@ -86,7 +86,7 @@
readOffset += (6 + u4At(classFileBytes, readOffset + 2, offset));
}
- attributeBytes = readOffset;
+ this.attributeBytes = readOffset;
}
/**
* @see IFieldInfo#getAccessFlags()
@@ -138,7 +138,7 @@
}
int sizeInBytes() {
- return attributeBytes;
+ return this.attributeBytes;
}
/**
* @see IFieldInfo#getAttributeCount()
Index: model/org/eclipse/jdt/internal/core/util/MethodInfo.java
===================================================================
RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/MethodInfo.java,v
retrieving revision 1.8
diff -u -r1.8 MethodInfo.java
--- model/org/eclipse/jdt/internal/core/util/MethodInfo.java 13 Jan 2004 15:48:44 -0000 1.8
+++ model/org/eclipse/jdt/internal/core/util/MethodInfo.java 27 May 2004 13:23:38 -0000
@@ -41,7 +41,7 @@
/**
* @param classFileBytes byte[]
- * @param offsets int[]
+ * @param constantPool IConstantPool
* @param offset int
* @param decodingFlags int
*/
@@ -49,7 +49,7 @@
throws ClassFormatException {
boolean no_code_attribute = (decodingFlags & IClassFileReader.METHOD_BODIES) == 0;
- accessFlags = u2At(classFileBytes, 0, offset);
+ this.accessFlags = u2At(classFileBytes, 0, offset);
this.nameIndex = u2At(classFileBytes, 2, offset);
IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex);
@@ -103,7 +103,7 @@
}
readOffset += (6 + u4At(classFileBytes, readOffset + 2, offset));
}
- attributeBytes = readOffset;
+ this.attributeBytes = readOffset;
}
/**
* @see IMethodInfo#getAccessFlags()
@@ -137,14 +137,14 @@
* @see IMethodInfo#isClinit()
*/
public boolean isClinit() {
- return name[0] == '<' && name.length == 8; // Can only match