mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Javadoc adjustments.
This commit is contained in:
parent
52aa9bac76
commit
a83be9db5b
1 changed files with 19 additions and 18 deletions
|
@ -27,14 +27,13 @@ import org.eclipse.core.runtime.Platform;
|
|||
* @noinstantiate This class is not intended to be instantiated by clients.
|
||||
*/
|
||||
public class ToolFactory {
|
||||
|
||||
/**
|
||||
* Create an instance of a code formatter. A code formatter implementation can be contributed via the
|
||||
* extension point "org.eclipse.cdt.core.CodeFormatter". If unable to find a registered extension, the factory
|
||||
* will default to using the default code formatter.
|
||||
* @param options - the options map to use for formatting with the code formatter. Recognized options
|
||||
* are documented on <code>DefaultCodeFormatterConstants</code>. If set to <code>null</code>, then use
|
||||
* the current settings from <code>CCorePlugin.getOptions()</code>.
|
||||
* Creates an instance of a code formatter. A code formatter implementation can be contributed
|
||||
* via the extension point "org.eclipse.cdt.core.CodeFormatter". If unable to find a registered
|
||||
* extension, the factory will default to using the default code formatter.
|
||||
* @param options - the options map to use for formatting with the code formatter. Recognized
|
||||
* options are documented in {@link DefaultCodeFormatterConstants}. If set to {@code null},
|
||||
* then use the current settings from {@code CCorePlugin.getOptions()}.
|
||||
* @return an instance of either a contributed the built-in code formatter
|
||||
* @see CodeFormatter
|
||||
* @see DefaultCodeFormatterConstants
|
||||
|
@ -72,11 +71,11 @@ public class ToolFactory {
|
|||
}
|
||||
|
||||
/**
|
||||
* Create an instance of the built-in code formatter.
|
||||
* Creates an instance of the built-in code formatter.
|
||||
*
|
||||
* @param options - the options map to use for formatting with the default code formatter. Recognized options
|
||||
* are documented on <code>DefaultCodeFormatterConstants</code>. If set to <code>null</code>, then use
|
||||
* the current settings from <code>CCorePlugin.getOptions()</code>.
|
||||
* @param options - the options map to use for formatting with the default code formatter.
|
||||
* Recognized options are documented in {@link DefaultCodeFormatterConstants}. If set to
|
||||
* {@code null}, then use the current settings from {@code CCorePlugin.getOptions()}.
|
||||
* @return an instance of the built-in code formatter
|
||||
* @see CodeFormatter
|
||||
* @see DefaultCodeFormatterConstants
|
||||
|
@ -87,4 +86,6 @@ public class ToolFactory {
|
|||
options = CCorePlugin.getOptions();
|
||||
return new CCodeFormatter(options);
|
||||
}
|
||||
|
||||
private ToolFactory() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue