1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-29 11:55:40 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-10-21 15:39:29 -07:00
parent d722e6d367
commit d2b9c42395
2 changed files with 24 additions and 26 deletions

View file

@ -22,16 +22,17 @@ public interface ICompositesFactory {
public IIndexScope getCompositeScope(IIndexScope rscope); public IIndexScope getCompositeScope(IIndexScope rscope);
/** /**
* Returns a composite (in the sense of potentially spanning multiple index fragments - i.e. not to be confused * Returns a composite (in the sense of potentially spanning multiple index fragments -
* with ICompositeType) type for the specified type. * i.e. not to be confused with ICompositeType) type for the specified type.
*/ */
public IType getCompositeType(IType rtype); public IType getCompositeType(IType rtype);
/** /**
* Returns a composite (index context carrying) binding for the specified binding. It does not * Returns a composite (index context carrying) binding for the specified binding. It does not
* matter which fragment the specified binding comes from * matter which fragment the specified binding comes from.
* @param binding a binding that will be used when searching for information to return from the composite *
* binding methods * @param binding a binding that will be used when searching for information to return from
* the composite binding methods
* @return a composite (index context carrying) binding for the specified binding * @return a composite (index context carrying) binding for the specified binding
*/ */
public IIndexBinding getCompositeBinding(IIndexFragmentBinding binding); public IIndexBinding getCompositeBinding(IIndexFragmentBinding binding);

View file

@ -10,9 +10,6 @@
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.core.pdom.dom; package org.eclipse.cdt.internal.core.pdom.dom;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.index.IIndexFile; import org.eclipse.cdt.core.index.IIndexFile;
import org.eclipse.cdt.core.index.IIndexMacro; import org.eclipse.cdt.core.index.IIndexMacro;
@ -24,6 +21,9 @@ import org.eclipse.cdt.internal.core.index.IIndexScope;
import org.eclipse.cdt.internal.core.pdom.db.Database; import org.eclipse.cdt.internal.core.pdom.db.Database;
import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.CoreException;
import java.util.ArrayList;
import java.util.List;
/** /**
* A container collecting definitions and references for macros. * A container collecting definitions and references for macros.
* @since 5.0 * @since 5.0
@ -119,9 +119,6 @@ public class PDOMMacroContainer extends PDOMNamedNode implements IIndexMacroCont
return IIndexBindingConstants.MACRO_CONTAINER; return IIndexBindingConstants.MACRO_CONTAINER;
} }
/* (non-Javadoc)
* @see org.eclipse.cdt.internal.core.index.IIndexFragmentBinding#getFragment()
*/
@Override @Override
public IIndexFragment getFragment() { public IIndexFragment getFragment() {
return getPDOM(); return getPDOM();