1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-25 09:13:48 +02:00

Added @noreference to the CCorePlugin.getDOM method and the CDOM class

Change-Id: I73119bb3463dc932d0951522645f351dec62fd86
This commit is contained in:
Sergey Prigogin 2017-02-15 16:06:40 -08:00
parent 1517b88854
commit bb9fe47b10
3 changed files with 5 additions and 12 deletions

View file

@ -1286,6 +1286,7 @@ public class CCorePlugin extends Plugin {
/** /**
* @deprecated use {@link ITranslationUnit} or {@link ILanguage} to * @deprecated use {@link ITranslationUnit} or {@link ILanguage} to
* construct ASTs, instead. * construct ASTs, instead.
* @noreference This method is not intended to be referenced by clients.
*/ */
@Deprecated @Deprecated
public org.eclipse.cdt.core.dom.CDOM getDOM() { public org.eclipse.cdt.core.dom.CDOM getDOM() {

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* IBM - Initial API and implementation * IBM - Initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.dom; package org.eclipse.cdt.core.dom;
import org.eclipse.cdt.core.dom.ast.IASTCompletionNode; import org.eclipse.cdt.core.dom.ast.IASTCompletionNode;
@ -20,13 +20,9 @@ import org.eclipse.core.resources.IStorage;
/** /**
* @author jcamelon * @author jcamelon
* *
* This class serves as the manager of the AST/DOM mechanisms for the CDT.
* It should be eventually added to CCorePlugin for startup.
*
* @noextend This class is not intended to be subclassed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
* @deprecated This class does not take into account language mappings. Use * @deprecated This class does not take into account language mappings. Use
* org.eclipse.cdt.core.model.ILanguage instead. * {@link org.eclipse.cdt.core.model.ILanguage} instead.
* @noreference This class is not intended to be referenced by clients.
*/ */
@Deprecated @Deprecated
public class CDOM implements IASTServiceProvider { public class CDOM implements IASTServiceProvider {

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* IBM - Initial API and implementation * IBM - Initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.dom; package org.eclipse.cdt.core.dom;
@ -19,10 +19,6 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IStorage; import org.eclipse.core.resources.IStorage;
/** /**
* This is the mechanism that represents a parser service in the CDT.
*
* IASTTranslationUnits and ASTCompletionNodes are artifacts that this service returns.
*
* @author jcamelon * @author jcamelon
* @deprecated Use methods provided by {@link ITranslationUnit} or {@link ILanguage}. * @deprecated Use methods provided by {@link ITranslationUnit} or {@link ILanguage}.
* @noreference This interface is not intended to be referenced by clients. * @noreference This interface is not intended to be referenced by clients.