1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-07-26 23:18:52 -07:00
parent 0efa436797
commit 3812b9ebbc
12 changed files with 17 additions and 30 deletions

View file

@ -21,7 +21,7 @@ import org.eclipse.core.runtime.CoreException;
* @noimplement This interface is not intended to be implemented by clients. * @noimplement This interface is not intended to be implemented by clients.
*/ */
public interface IIndexBinding extends IBinding { public interface IIndexBinding extends IBinding {
IIndexBinding[] EMPTY_INDEX_BINDING_ARRAY = new IIndexBinding[0]; IIndexBinding[] EMPTY_INDEX_BINDING_ARRAY = {};
/** /**
* Returns the qualified name of this binding as array of strings. * Returns the qualified name of this binding as array of strings.

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
@ -23,7 +23,6 @@ import org.eclipse.cdt.core.model.ICProject;
* @since 4.0 * @since 4.0
*/ */
public interface IIndexChangeEvent { public interface IIndexChangeEvent {
/** /**
* Returns the project for which the index has changed. * Returns the project for which the index has changed.
*/ */

View file

@ -6,12 +6,10 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
/** /**
* An index change listener is notified of changes to the index. These changes * An index change listener is notified of changes to the index. These changes
* arise from the indexer working in the background. * arise from the indexer working in the background.
@ -27,7 +25,6 @@ package org.eclipse.cdt.core.index;
* @since 4.0 * @since 4.0
*/ */
public interface IIndexChangeListener { public interface IIndexChangeListener {
/** /**
* Notifies this listener that some part of the index has changed. * Notifies this listener that some part of the index has changed.
* <p> * <p>

View file

@ -6,11 +6,10 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - initial API and implementation * Andrew Ferguson (Symbian) - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
/** /**
* Each IIndexFragment stores file location representations in an implementation specific manner. * Each IIndexFragment stores file location representations in an implementation specific manner.
* External to IIndexFragment files are identified by an {@link IIndexFileLocation} * External to IIndexFragment files are identified by an {@link IIndexFileLocation}

View file

@ -22,7 +22,7 @@ import org.eclipse.core.runtime.CoreException;
* @noimplement This interface is not intended to be implemented by clients. * @noimplement This interface is not intended to be implemented by clients.
*/ */
public interface IIndexMacro extends IMacroBinding, IIndexBinding { public interface IIndexMacro extends IMacroBinding, IIndexBinding {
IIndexMacro[] EMPTY_INDEX_MACRO_ARRAY = new IIndexMacro[0]; IIndexMacro[] EMPTY_INDEX_MACRO_ARRAY = {};
/** /**
* If available, return the file location for the macro definition of this macro, * If available, return the file location for the macro definition of this macro,

View file

@ -6,15 +6,14 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
* Andrew Ferguson (Symbian) * Andrew Ferguson (Symbian)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
import org.eclipse.cdt.core.dom.IName; import org.eclipse.cdt.core.dom.IName;
import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.CoreException;
/** /**
* Interface for all the names in the index. These constitute either a * Interface for all the names in the index. These constitute either a
* declaration or a reference. * declaration or a reference.

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
@ -18,7 +18,6 @@ package org.eclipse.cdt.core.index;
* @since 4.0 * @since 4.0
*/ */
public interface IIndexerStateEvent { public interface IIndexerStateEvent {
/** /**
* Tests whether the indexer has more work to do. * Tests whether the indexer has more work to do.
* @since 4.0 * @since 4.0

View file

@ -6,12 +6,10 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
/** /**
* An indexer state listener is notified of changes to the state of the indexer. * An indexer state listener is notified of changes to the state of the indexer.
* <p> * <p>
@ -25,7 +23,6 @@ package org.eclipse.cdt.core.index;
* @since 4.0 * @since 4.0
*/ */
public interface IIndexerStateListener { public interface IIndexerStateListener {
/** /**
* Notifies this listener that the state of the indexer has changed. * Notifies this listener that the state of the indexer has changed.
* <p> * <p>

View file

@ -6,11 +6,10 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
* Andrew Ferguson (Symbian) * Andrew Ferguson (Symbian)
* Bryan Wilkinson (QNX) * Bryan Wilkinson (QNX)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
import org.eclipse.cdt.core.dom.ILinkage; import org.eclipse.cdt.core.dom.ILinkage;
@ -22,7 +21,6 @@ import org.eclipse.core.runtime.CoreException;
* Can be subclassed and used for queries in the index. * Can be subclassed and used for queries in the index.
* @since 4.0 * @since 4.0
*/ */
abstract public class IndexFilter { abstract public class IndexFilter {
public static final IndexFilter ALL = new IndexFilter() {}; public static final IndexFilter ALL = new IndexFilter() {};
public static final IndexFilter ALL_DECLARED = getDeclaredBindingFilter(-1, false); public static final IndexFilter ALL_DECLARED = getDeclaredBindingFilter(-1, false);

View file

@ -6,9 +6,9 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - initial API and implementation * Andrew Ferguson (Symbian) - initial API and implementation
* Markus Schorn (Wind River Systems) * Markus Schorn (Wind River Systems)
* Sergey Prigogin (Google) * Sergey Prigogin (Google)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
@ -18,7 +18,6 @@ import org.eclipse.cdt.internal.core.CCoreInternals;
* setup of the indexer when a project is added to the workspace. * setup of the indexer when a project is added to the workspace.
*/ */
public abstract class IndexerSetupParticipant { public abstract class IndexerSetupParticipant {
/** /**
* The method will be called before an indexer is set up for a project. If you * The method will be called before an indexer is set up for a project. If you
* return <code>true</code> the setup will be postponed. You need to call * return <code>true</code> the setup will be postponed. You need to call

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - Initial implementation * Andrew Ferguson (Symbian) - Initial implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;