diff --git a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/core/compiler/CharOperation.java b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/core/compiler/CharOperation.java index e6c0b79af2c..02df6a076a7 100644 --- a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/core/compiler/CharOperation.java +++ b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/core/compiler/CharOperation.java @@ -4047,11 +4047,13 @@ public static final char[][] splitOn( * For example: *
+ * {@code * divider = ',' * array = { 'A' , '<', 'B', ',', 'C', '>', ',', 'D' } * start = 0 * end = 8 * result => { { 'A' , '<', 'B', ',', 'C', '>'}, { 'D' }} + * } **
null
if this is a root node.
* + * {@code * ASTNode node = ...; * ASTNode parent = node.getParent(); * StructuralPropertyDescriptor location = node.getLocationInParent(); @@ -1827,6 +1828,7 @@ public final ASTNode getParent() { * assert parent.getStructuralProperty(location) == node; * if ((location != null) && location.isChildListProperty()) * assert ((List) parent.getStructuralProperty(location)).contains(node); + * } **
* Note that the relationship between an AST node and its parent node diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ITypeBinding.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ITypeBinding.java index cb2c430eb07..6ecff74f4f6 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ITypeBinding.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ITypeBinding.java @@ -59,7 +59,7 @@ public interface ITypeBinding extends IBinding { * * @param dimension the given dimension * @return an array type binding - * @throws IllegalArgumentException:
+ * {@code * RecordPattern: * Pattern* * @since 3.31 diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java index ed2f9c46202..6a6066ec118 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java @@ -1399,7 +1399,7 @@ public String[] getCreatedImports() { *> Type SimpleName + * } *
* Note that this list doesn't need to be the same as the added static imports ({@link #getAddedStaticImports()}) as * implicit imports are not created and some imports are represented by on-demand imports instead. - *
* @return the created imports */ public String[] getCreatedStaticImports() { diff --git a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java index 3ed4fdab4d7..d7ed437e28f 100644 --- a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java +++ b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java @@ -48,7 +48,6 @@ * files first so that a file does not get formatted twice. 2. Use a text based * progress monitor for output. * - * @author Ben Konrath- * FORMATTER / Option for alignment of assignment (=, +=, -=, *=, /=, %=, &=, ^=, |=, <<=, >>=, >>>=) + * FORMATTER / Option for alignment of assignment {@code (=, +=, -=, *=, /=, %=, &=, ^=, |=, <<=, >>=, >>>=) } * - option id: "org.eclipse.jdt.core.formatter.alignment_for_assignment" * - possible values: values returned bycreateAlignmentValue(boolean, int, int)
call * - default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT) @@ -358,7 +358,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_ALIGNMENT_FOR_STRING_CONCATENATION = JavaCore.PLUGIN_ID + ".formatter.alignment_for_string_concatenation"; //$NON-NLS-1$ /** *- * FORMATTER / Option for alignment of expressions with shift operators (<<, >>, >>>) + * FORMATTER / Option for alignment of expressions with shift operators {@code (<<, >>, >>>) } * - option id: "org.eclipse.jdt.core.formatter.alignment_for_shift_operator" * - possible values: values returned bycreateAlignmentValue(boolean, int, int)
call * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) @@ -369,7 +369,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_ALIGNMENT_FOR_SHIFT_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.alignment_for_shift_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option for alignment of expressions with relational operators (<, >, <=, >=, ==, !=) + * FORMATTER / Option for alignment of expressions with relational operators {@code (<, >, <=, >=, ==, !=)} * - option id: "org.eclipse.jdt.core.formatter.alignment_for_relational_operator" * - possible values: values returned bycreateAlignmentValue(boolean, int, int)
call * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) @@ -380,7 +380,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_ALIGNMENT_FOR_RELATIONAL_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.alignment_for_relational_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option for alignment of expressions with bitwise operators (&, ^, |) + * FORMATTER / Option for alignment of expressions with bitwise operators (&, ^, |) * - option id: "org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator" * - possible values: values returned bycreateAlignmentValue(boolean, int, int)
call * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) @@ -391,7 +391,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_ALIGNMENT_FOR_BITWISE_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.alignment_for_bitwise_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option for alignment of expressions with logical operators (&&, ||) + * FORMATTER / Option for alignment of expressions with logical operators (&&, ||) * - option id: "org.eclipse.jdt.core.formatter.alignment_for_logical_operator" * - possible values: values returned bycreateAlignmentValue(boolean, int, int)
call * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) @@ -2647,7 +2647,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_AFTER_STRING_CONCATENATION = JavaCore.PLUGIN_ID + ".formatter.insert_space_after_string_concatenation"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space after a shift operator (<<, >>, >>>) + * FORMATTER / Option to insert a space after a shift operator {@code (<<, >>, >>>)} * - option id: "org.eclipse.jdt.core.formatter.insert_space_after_shift_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -2659,7 +2659,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_AFTER_SHIFT_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.insert_space_after_shift_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space after a relational operator (<, >, <=, >=, ==, !=) + * FORMATTER / Option to insert a space after a relational operator {@code (<, >, <=, >=, ==, !=)} * - option id: "org.eclipse.jdt.core.formatter.insert_space_after_relational_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -2671,7 +2671,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_AFTER_RELATIONAL_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.insert_space_after_relational_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space after a bitwise operator (&, ^, |) + * FORMATTER / Option to insert a space after a bitwise operator (&, ^, |) * - option id: "org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -2683,7 +2683,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_AFTER_BITWISE_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.insert_space_after_bitwise_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space after a logical operator (&&, ||) + * FORMATTER / Option to insert a space after a logical operator (&&, ||) * - option id: "org.eclipse.jdt.core.formatter.insert_space_after_logical_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -3552,7 +3552,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_BEFORE_STRING_CONCATENATION = JavaCore.PLUGIN_ID + ".formatter.insert_space_before_string_concatenation"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space before a shift operator (<<, >>, >>>) + * FORMATTER / Option to insert a space before a shift operator {@code (<<, >>, >>>)} * - option id: "org.eclipse.jdt.core.formatter.insert_space_before_shift_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -3564,7 +3564,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_BEFORE_SHIFT_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.insert_space_before_shift_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space before a relational operator (<, >, <=, >=, ==, !=) + * FORMATTER / Option to insert a space before a relational operator {@code (<, >, <=, >=, ==, !=)} * - option id: "org.eclipse.jdt.core.formatter.insert_space_before_relational_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -3576,7 +3576,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_BEFORE_RELATIONAL_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.insert_space_before_relational_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space before a bitwise operator (&, ^, |) + * FORMATTER / Option to insert a space before a bitwise operator (&, ^, |) * - option id: "org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -3588,7 +3588,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INSERT_SPACE_BEFORE_BITWISE_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.insert_space_before_bitwise_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to insert a space before a logical operator (&&, ||) + * FORMATTER / Option to insert a space before a logical operator (&&, ||) * - option id: "org.eclipse.jdt.core.formatter.insert_space_before_logical_operator" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -5374,7 +5374,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_WRAP_BEFORE_STRING_CONCATENATION = JavaCore.PLUGIN_ID + ".formatter.wrap_before_string_concatenation"; //$NON-NLS-1$ /** *- * FORMATTER / Option to wrap before the shift operator (<<, >>, >>>) + * FORMATTER / Option to wrap before the shift operator {@code (<<, >>, >>>)} * - option id: "org.eclipse.jdt.core.formatter.wrap_before_shift_operator" * - possible values: { TRUE, FALSE } * - default: TRUE @@ -5387,7 +5387,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_WRAP_BEFORE_SHIFT_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.wrap_before_shift_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to wrap before the relational operator (<, >, <=, >=, ==, !=) + * FORMATTER / Option to wrap before the relational operator {@code (<, >, <=, >=, ==, !=)} * - option id: "org.eclipse.jdt.core.formatter.wrap_before_" * - possible values: { TRUE, FALSE } * - default: TRUE @@ -5400,7 +5400,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_WRAP_BEFORE_RELATIONAL_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.wrap_before_relational_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to wrap before the bitwise operator (&, ^, |) + * FORMATTER / Option to wrap before the bitwise operator (&, ^, |) * - option id: "org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator" * - possible values: { TRUE, FALSE } * - default: TRUE @@ -5413,7 +5413,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_WRAP_BEFORE_BITWISE_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.wrap_before_bitwise_operator"; //$NON-NLS-1$ /** *- * FORMATTER / Option to wrap before the logical operator (&&, ||) + * FORMATTER / Option to wrap before the logical operator (&&, ||) * - option id: "org.eclipse.jdt.core.formatter.wrap_before_logical_operator" * - possible values: { TRUE, FALSE } * - default: TRUE diff --git a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/IndentManipulation.java b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/IndentManipulation.java index f41aeb74151..18b83243b12 100644 --- a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/IndentManipulation.java +++ b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/IndentManipulation.java @@ -182,7 +182,7 @@ public static String extractIndentString(String line, int tabWidth, int indentWi /** * Removes the given number of indentation units from a given line. If the line * has less indent than the given indentUnitsToRemove, all the available indentation is removed. - * IfindentsToRemove <= 0 or indent == 0
the line is returned. + * IfindentsToRemove <= 0 or indent == 0
the line is returned. * * @param line the line to trim * @param tabWidth the width of one tab in space equivalents diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java index cd1c4b40b96..28c1497777e 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java @@ -1800,7 +1800,7 @@ public void setReceiverRange(int startIndex, int endIndex) { } /** - * Returns whether it is safe to use the '<>' (diamond) operator in place of explicitly specifying + * Returns whether it is safe to use the {@code '<>'} (diamond) operator in place of explicitly specifying * type arguments for this proposal. * *diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Flags.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Flags.java index 3f0be8e5f27..5bcade105d0 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Flags.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Flags.java @@ -511,7 +511,7 @@ public static boolean isModule(int flags) { * unexpected description. Clients should ensure that the AccVarargs is not included in the flags of a method as follows: *
* IMethod method = ... - * int flags = method.getFlags() & ~Flags.AccVarargs; + * int flags = method.getFlags() & ~Flags.AccVarargs; * return Flags.toString(flags); **diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ICodeAssist.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ICodeAssist.java index 17b354736f8..c154fa020c0 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ICodeAssist.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ICodeAssist.java @@ -35,7 +35,7 @@ public interface ICodeAssist { * * @exception JavaModelException if code assist could not be performed. Reasons include:
+ *{@code * new IProgressMonitor() { * private final static int TIMEOUT = 500; //ms * private long endTime; @@ -112,6 +112,7 @@ void codeComplete(int offset, CompletionRequestor requestor) * } * ... * }; + * } ** * @param offset the given offset position @@ -119,7 +120,7 @@ void codeComplete(int offset, CompletionRequestor requestor) * @param monitor the progress monitor used to report progress * @exception JavaModelException if code assist could not be performed. Reasons include:
+ *{@code * new IProgressMonitor() { * private final static int TIMEOUT = 500; //ms * private long endTime; @@ -220,6 +221,7 @@ void codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner ow * } * ... * }; + * } ** * @param offset the given offset position @@ -228,7 +230,7 @@ void codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner ow * @param monitor the progress monitor used to report progress * @exception JavaModelException if code assist could not be performed. Reasons include:
&
operand. For example:
* - * if ((delta.getFlags() & IJavaElementDelta.F_CONTENT) != 0) { + * if ((delta.getFlags() & IJavaElementDelta.F_CONTENT) != 0) { * // the delta indicates a content change * } *diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IType.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IType.java index 3e2aa59fbf0..3f96c87312d 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IType.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IType.java @@ -181,6 +181,7 @@ void codeComplete( * * *
+ * {@code * new IProgressMonitor() { * private final static int TIMEOUT = 500; //ms * private long endTime; @@ -192,6 +193,7 @@ void codeComplete( * } * ... * }; + * } ** * @param snippet the code snippet @@ -290,7 +292,7 @@ void codeComplete( * assist operation when a specified amount of time is reached could be used. * * - *
+ *{@code * new IProgressMonitor() { * private final static int TIMEOUT = 500; //ms * private long endTime; @@ -302,6 +304,7 @@ void codeComplete( * } * ... * }; + * } ** * @param snippet the code snippet diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java index 7d50caa2419..fe4c17b3bb2 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java @@ -1514,8 +1514,8 @@ public final class JavaCore extends Plugin { /** * Compiler option ID: Reporting a resource that is not closed properly. *When enabled, the compiler will issue an error or a warning if - * a local variable holds a value of type
*java.lang.AutoCloseable
(compliance>=1.7) - * or a value of typejava.io.Closeable
(compliance<=1.6) and if + * a local variable holds a value of typejava.lang.AutoCloseable
(compliance>=1.7) + * or a value of typejava.io.Closeable
(compliance<=1.6) and if * flow analysis shows that the methodclose()
is not invoked locally on that value.
"org.eclipse.jdt.core.compiler.problem.unclosedCloseable"
"org.eclipse.jdt.core.codeComplete.staticFieldSuffixes"
{ "<suffix>[,<suffix>]*" }
< where <suffix>
is a String without any wild-card""
"org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes"
{ "<suffix>[,<suffix>]*" }
< where <suffix>
is a String without any wild-card""
* The syntax for a type signature is: + *
*+ * {@code * TypeSignature ::= * "B" // byte * | "C" // char @@ -94,9 +96,11 @@ * OptionalTypeParameters ::= * "<" + FormalTypeParameterSignature+ + ">" * | + * } **
* Examples: + *
*"[[I"
denotes int[][]
"Ljava.lang.String;"
denotes java.lang.String
in compiled code* The syntax for a method signature is: + *
*+ * {@code * MethodSignature ::= OptionalTypeParameters + "(" + ParamTypeSignature* + ")" + ReturnTypeSignature * ParamTypeSignature ::= TypeSignature * ReturnTypeSignature ::= TypeSignature + * } **
* Examples: + *
*"()I"
denotes int foo()
"([Ljava.lang.String;)V"
denotes void foo(java.lang.String[])
in compiled code* The syntax for a formal type parameter signature is: + *
*+ * {@code * FormalTypeParameterSignature ::= * TypeVariableName + OptionalClassBound + InterfaceBound* * TypeVariableName ::= Identifier @@ -132,9 +142,11 @@ * | ":" + TypeSignature * InterfaceBound ::= * ":" + TypeSignature + * } **
* Examples: + *
*"X:"
denotes X
"X:QReader;"
denotes X extends Reader
in source code'&'
.
+ * signature. Value is '&'
.
*
* @since 3.14
*/
@@ -1808,11 +1820,11 @@ public static String[] getParameterTypes(String methodSignature) throws IllegalA
* * For example: *
- *
+ * {@code
* getQualifier({'j', 'a', 'v', 'a', '.', 'l', 'a', 'n', 'g', '.', 'O', 'b', 'j', 'e', 'c', 't'}) -> {'j', 'a', 'v', 'a', '.', 'l', 'a', 'n', 'g'}
* getQualifier({'O', 'u', 't', 'e', 'r', '.', 'I', 'n', 'n', 'e', 'r'}) -> {'O', 'u', 't', 'e', 'r'}
* getQualifier({'j', 'a', 'v', 'a', '.', 'u', 't', 'i', 'l', '.', 'L', 'i', 's', 't', '<', 'j', 'a', 'v', 'a', '.', 'l', 'a', 'n', 'g', '.', 'S', 't', 'r', 'i', 'n', 'g', '>'}) -> {'j', 'a', 'v', 'a', '.', 'u', 't', 'i', 'l'}
- *
+ * }
*
*
* @param name the name
@@ -2139,12 +2151,12 @@ public static String getSimpleName(String name) {
* * For example: *
- *
+ * {@code
* getSimpleNames({'j', 'a', 'v', 'a', '.', 'l', 'a', 'n', 'g', '.', 'O', 'b', 'j', 'e', 'c', 't'}) -> {{'j', 'a', 'v', 'a'}, {'l', 'a', 'n', 'g'}, {'O', 'b', 'j', 'e', 'c', 't'}}
* getSimpleNames({'O', 'b', 'j', 'e', 'c', 't'}) -> {{'O', 'b', 'j', 'e', 'c', 't'}}
* getSimpleNames({}) -> {}
* getSimpleNames({'j', 'a', 'v', 'a', '.', 'u', 't', 'i', 'l', '.', 'L', 'i', 's', 't', '<', 'j', 'a', 'v', 'a', '.', 'l', 'a', 'n', 'g', '.', 'S', 't', 'r', 'i', 'n', 'g', '>'}) -> {{'j', 'a', 'v', 'a'}, {'l', 'a', 'n', 'g'}, {'L', 'i', 's', 't', '<', 'j', 'a', 'v', 'a', '.', 'l', 'a', 'n', 'g', '.', 'S', 't', 'r', 'i', 'n', 'g'}}
- *
+ * }
*
*
* @param name the name
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/WorkingCopyOwner.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/WorkingCopyOwner.java
index 035906cb4a5..b89d74e70e1 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/WorkingCopyOwner.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/WorkingCopyOwner.java
@@ -104,7 +104,7 @@ public IProblemRequestor getProblemRequestor(ICompilationUnit workingCopy) {
* types that would normally be available by returning an empty source for
* the given type and package.
* Example of use: - *
+ *{@code * WorkingCopyOwner owner = new WorkingCopyOwner() { * public String findSource(String typeName, String packageName) { * if ("to.be".equals(packageName) && "Generated".equals(typeName)) { @@ -135,6 +135,7 @@ public IProblemRequestor getProblemRequestor(ICompilationUnit workingCopy) { * parser.setWorkingCopyOwner(owner); * CompilationUnit cu = (CompilationUnit) parser.createAST(null); * assert cu.getProblems().length == 0; + * } ** * @param typeName the simple name of the type to lookup diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java index d3d1fb2090b..198841fddde 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java @@ -191,7 +191,7 @@ public void codeComplete( * assist operation when a specified amount of time is reached could be used. * * - *+ *{@code * new IProgressMonitor() { * private final static int TIMEOUT = 500; //ms * private long endTime; @@ -203,6 +203,7 @@ public void codeComplete( * } * ... * }; + * } ** * @param codeSnippet the code snippet to complete in @@ -278,7 +279,7 @@ public void codeComplete( * assist operation when a specified amount of time is reached could be used. * * - *+ *{@code * new IProgressMonitor() { * private final static int TIMEOUT = 500; //ms * private long endTime; @@ -290,6 +291,7 @@ public void codeComplete( * } * ... * }; + * } ** * @param codeSnippet the code snippet to complete in diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMMethod.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMMethod.java index 86cf075b669..c6b389a5a1c 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMMethod.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMMethod.java @@ -100,7 +100,7 @@ public interface IDOMMethod extends IDOMMember { * Returns an empty array if this method has no formal type parameters. *Formal type parameters are as they appear in the source * code; for example: - *
* * @return the formal type parameters of this method, @@ -190,7 +190,7 @@ public interface IDOMMethod extends IDOMMember { * Sets the formal type parameters for this method. *"X extends List<String> & Serializable"
. + *"X extends List<String> & Serializable"
. *Formal type parameters are given as they appear in the source * code; for example: - *
* * @param typeParameters the formal type parameters of this method, diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMType.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMType.java index 82ce424d5af..7fb26ba8a30 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMType.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/jdom/IDOMType.java @@ -52,7 +52,7 @@ public interface IDOMType extends IDOMMember { * Returns an empty array if this method has no formal type parameters. *"X extends List<String> & Serializable"
. + *"X extends List<String> & Serializable"
. *Formal type parameters are as they appear in the source * code; for example: - *
* * @return the formal type parameters of this type, @@ -163,7 +163,7 @@ public interface IDOMType extends IDOMMember { * Sets the formal type parameters for this type. *"X extends List<String> & Serializable"
. + *"X extends List<String> & Serializable"
. *Formal type parameters are given as they appear in the source * code; for example: - *
* * @param typeParameters the formal type parameters of this type,"X extends List<String> & Serializable"
. + *"X extends List<String> & Serializable"
. *