Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptff2004-09-20 08:49:54 +0000
committerptff2004-09-20 08:49:54 +0000
commitc4e50659c1c1f20f2516ea390185ed4a556a67b7 (patch)
tree3bb409aec5dc33646678b6776faeb86d9cc1d51c
parent0410b634e84ed1811e2ced263ad832f936272dc4 (diff)
downloadeclipse.jdt.core-c4e50659c1c1f20f2516ea390185ed4a556a67b7.tar.gz
eclipse.jdt.core-c4e50659c1c1f20f2516ea390185ed4a556a67b7.tar.xz
eclipse.jdt.core-c4e50659c1c1f20f2516ea390185ed4a556a67b7.zip
Fix javadoc @return tag(s)
-rw-r--r--org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java24
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConstructorDeclaration.java4
-rw-r--r--org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTParser.java8
-rw-r--r--org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java4
-rw-r--r--org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/Indents.java12
-rw-r--r--org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java6
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java4
7 files changed, 31 insertions, 31 deletions
diff --git a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
index a38edc9e4e..7bc82be539 100644
--- a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
+++ b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
@@ -101,8 +101,8 @@ public class Main implements ProblemSeverities, SuffixConstants {
/**
* Lookup the message with the given ID in this catalog
- * @param id
- * @return
+ * @param id String
+ * @return String
*/
public static String bind(String id) {
return bind(id, (String[]) null);
@@ -111,9 +111,9 @@ public class Main implements ProblemSeverities, SuffixConstants {
/**
* Lookup the message with the given ID in this catalog and bind its
* substitution locations with the given string.
- * @param id
- * @param binding
- * @return
+ * @param id String
+ * @param binding String
+ * @return String
*/
public static String bind(String id, String binding) {
return bind(id, new String[] { binding });
@@ -122,10 +122,10 @@ public class Main implements ProblemSeverities, SuffixConstants {
/**
* Lookup the message with the given ID in this catalog and bind its
* substitution locations with the given strings.
- * @param id
- * @param binding1
- * @param binding2
- * @return
+ * @param id String
+ * @param binding1 String
+ * @param binding2 String
+ * @return String
*/
public static String bind(String id, String binding1, String binding2) {
return bind(id, new String[] { binding1, binding2 });
@@ -134,9 +134,9 @@ public class Main implements ProblemSeverities, SuffixConstants {
/**
* Lookup the message with the given ID in this catalog and bind its
* substitution locations with the given string values.
- * @param id
- * @param bindings
- * @return
+ * @param id String
+ * @param bindings String[]
+ * @return String
*/
public static String bind(String id, String[] bindings) {
if (id == null)
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConstructorDeclaration.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConstructorDeclaration.java
index 7170bbf40d..40503c6c29 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConstructorDeclaration.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConstructorDeclaration.java
@@ -326,8 +326,8 @@ public class ConstructorDeclaration extends AbstractMethodDeclaration {
* Given most constructors aren't, we only allocate the visited list
* lazily.
*
- * @param visited
- * @return
+ * @param visited ArrayList
+ * @return String
*/
public boolean isRecursive(ArrayList visited) {
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTParser.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTParser.java
index c642c18f20..2a2fe4a09b 100644
--- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTParser.java
+++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTParser.java
@@ -689,10 +689,10 @@ public class ASTParser {
}
/**
- * @param monitor
- * @param compilationUnitDeclaration
- * @param source
- * @return
+ * @param monitor IProgressMonitor
+ * @param compilationUnitDeclaration CompilationUnitDeclaration
+ * @param source char[]
+ * @return ASTNode
*/
private ASTNode convert(IProgressMonitor monitor, CompilationUnitDeclaration compilationUnitDeclaration, char[] source, boolean needToResolveBindings) {
BindingResolver resolver = null;
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
index b1476ee7d8..2a5ed8f465 100644
--- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
+++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
@@ -209,8 +209,8 @@ import org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants;
/**
* Creates a string that represents the given number of indents (can be spaces or tabs..)
- * @param indent
- * @return
+ * @param indent int
+ * @return String
*/
public String createIndentString(int indent) {
StringBuffer buf= new StringBuffer(indent * this.singleIndentString.length());
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/Indents.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/Indents.java
index 540481b561..046c4ee998 100644
--- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/Indents.java
+++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/Indents.java
@@ -32,8 +32,8 @@ public class Indents {
/**
* Indent char is a space char but not a line delimiters.
* <code>== Character.isWhitespace(ch) && ch != '\n' && ch != '\r'</code>
- * @param ch
- * @return
+ * @param ch char
+ * @return boolean
*/
public static boolean isIndentChar(char ch) {
return Character.isWhitespace(ch) && !isLineDelimiterChar(ch);
@@ -78,13 +78,13 @@ public class Indents {
}
/**
- * Removes the given number of idents from the line. Asserts that the given line
+ * Removes the given number of indents from the line. Asserts that the given line
* has the requested number of indents. If <code>indentsToRemove <= 0</code>
* the line is returned.
* @param line The line to trim the indent
* @param indentsToRemove The indent level to remove
* @param tabWidth The current tab width
- * @return
+ * @return String The trimmed string
*/
public static String trimIndent(String line, int indentsToRemove, int tabWidth) {
if (line == null || indentsToRemove <= 0)
@@ -197,8 +197,8 @@ public class Indents {
* @param codeIndentLevel The indent level of the code
* @param tabWidth The current tab width setting
* @param newIndent The new Indent string
- * @param lineDelim THe current line delimiter
- * @return
+ * @param lineDelim The current line delimiter
+ * @return String The changed string
*/
public static String changeIndent(String code, int codeIndentLevel, int tabWidth, String newIndent, String lineDelim) {
try {
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java
index 584b46a202..3cdda7bdea 100644
--- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java
+++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java
@@ -374,9 +374,9 @@ public final class RewriteEventStore {
/**
* Kind is either ORIGINAL, NEW, or BOTH
- * @param value
- * @param kind
- * @return
+ * @param value Object
+ * @param kind int
+ * @return RewriteEvent
*/
public RewriteEvent findEvent(Object value, int kind) {
for (int i= 0; i < this.events.size(); i++) {
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
index 33e7a622aa..53ed3aefab 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
@@ -744,8 +744,8 @@ private void setEnvironment(LookupEnvironment lookupEnvironment, HierarchyBuilde
/**
* Set the focus type (ie. the type that this resolver is computing the hierarch for.
* Returns the binding of this focus type or null if it could not be found.
- * @param compoundName
- * @return
+ * @param compoundName char[]
+ * @return ReferenceBinding
*/
public ReferenceBinding setFocusType(char[][] compoundName) {
if (compoundName == null || this.lookupEnvironment == null) return null;

Back to the top