Bug 117526 [Contributions] [Commands] Javadoc warnings in N20051122-0010
/builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.core.commands/src/org/eclipse/core/commands/INamedHandleStateIds.java:30: warning - Tag @link: Class or Package not found: NamedHandleObjectWithState /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java:581: warning - @param argument "state" is not a parameter name. /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.jface/src/org/eclipse/jface/commands/RadioState.java:46: warning - Tag @link: Class or Package not found: Boolean.TRUE /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.jface/src/org/eclipse/jface/commands/RadioState.java:46: warning - Tag @link: Class or Package not found: Boolean.FALSE /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/handlers/RegistryRadioState.java:51: warning - Tag @link: Class or Package not found: Boolean.FALSE
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java
*            The parameters understood by this command. This value may be
	 *            either <code>null</code> or empty if the command does not
	 *            accept parameters.
	 */
	public final void define(final String name, final String description,
			final Category category, final IParameter[] parameters) {
		if (name == null) {
			throw new NullPointerException(
					"The name of a command cannot be null"); 
		}
		if (category == null) {
			throw new NullPointerException(
					"The category of a command cannot be null"); 
		}
		final boolean definedChanged = !this.defined;
		this.defined = true;
		final boolean nameChanged = !Util.equals(this.name, name);
		this.name = name;
		final boolean descriptionChanged = !Util.equals(this.description,
				description);
		this.description = description;
		final boolean categoryChanged = !Util.equals(this.category, category);
		this.category = category;
		final boolean parametersChanged = !Util.equals(this.parameters,
				parameters);
		this.parameters = parameters;
		fireCommandChanged(new CommandEvent(this, categoryChanged,
				definedChanged, descriptionChanged, false, nameChanged,
				parametersChanged));
	}