# Deprecated API

## Contents

- Terminally Deprecated
- Interfaces
- Classes
- Fields
- Methods
- Constructors

Terminally Deprecated Elements
Element
Description
org.eclipse.cdt.core.build.CBuildConfiguration.getScannerInfoCache()
This method was never used in CDT.
org.eclipse.cdt.core.resources.ScannerProvider
Since CDT 4.0 replaced by `ScannerInfoProviderProxy`. Still used as a default for projects created by earlier CDT versions.
org.eclipse.cdt.utils.spawner.Spawner.CTRLC
org.eclipse.cdt.utils.spawner.Spawner.HUP
org.eclipse.cdt.utils.spawner.Spawner.INT
org.eclipse.cdt.utils.spawner.Spawner.KILL
org.eclipse.cdt.utils.spawner.Spawner.NOOP
org.eclipse.cdt.utils.spawner.Spawner.TERM

Deprecated Interfaces
Interface
Description
org.eclipse.cdt.core.browser.ITypeInfoVisitor
not used anywhere
org.eclipse.cdt.core.browser.IWorkingCopyProvider
use `IWorkingCopyProvider`, instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionTryBlockDeclarator
Use `ICPPASTFunctionWithTryBlock`, instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTypenameExpression
Unified with `ICPPASTSimpleTypeConstructorExpression`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPDeferredTemplateInstance
use `ICPPDeferredClassInstance` instead.
org.eclipse.cdt.core.dom.ast.gnu.c.IGCCASTSimpleDeclSpecifier
Everything can be expressed as `ICASTSimpleDeclSpecifier`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTDeclSpecifier
Replaced by `IASTDeclSpecifier`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTExplicitTemplateInstantiation
Replaced by `ICPPASTExplicitTemplateInstantiation`
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTPointer
Use `IASTPointer`, instead.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTPointerToMember
Use `ICPPASTPointerToMember`, instead.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTSimpleDeclSpecifier
Replaced by `ICPPASTSimpleDeclSpecifier`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPBasicType
use `ICPPBasicType`, instead.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPPointerToMemberType
Use `ICPPPointerToMemberType`, instead.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPPointerType
Use `IPointerType`, instead.
org.eclipse.cdt.core.dom.ast.gnu.IGCCASTAttributeSpecifier
Use IGCCASTAttributeList instead.
org.eclipse.cdt.core.dom.ast.gnu.IGNUASTTypeIdExpression
Use `IASTTypeIdExpression`, instead.
org.eclipse.cdt.core.dom.ast.gnu.IGNUASTUnaryExpression
Replaced by `IASTUnaryExpression`.
org.eclipse.cdt.core.dom.ast.IASTInitializerExpression
Replaced by `IASTEqualsInitializer`.
org.eclipse.cdt.core.dom.ast.IASTMacroExpansion
Use IASTMacroExpansionLocation instead
org.eclipse.cdt.core.dom.IASTServiceProvider
Use methods provided by `ITranslationUnit` or `ILanguage`.
org.eclipse.cdt.core.dom.ICodeReaderFactory
replaced by `IncludeFileContentProvider`
org.eclipse.cdt.core.dom.IParserConfiguration
Used only by other deprecated interfaces
org.eclipse.cdt.core.ICDescriptor
as this API is not configuration aware. Replaced by `ICConfigurationDescription` which can be fetched with `ICProjectDescription.getConfigurations()`
org.eclipse.cdt.core.ICDescriptorListener
register `ICProjectDescriptionListener` for `CProjectDescriptionEvent`
org.eclipse.cdt.core.ICDescriptorManager
replace with `ICProjectDescriptionManager` & `ICProjectDescription`
org.eclipse.cdt.core.ICDescriptorOperation
org.eclipse.cdt.core.ICExtensionReference
replaced with `ICConfigExtensionReference` obtained from an `ICConfigurationDescription`
org.eclipse.cdt.core.ICOwner
org.eclipse.cdt.core.parser.ICodeReaderCache
org.eclipse.cdt.core.parser.ITokenDuple
Do not use.

Deprecated Classes
Class
Description
org.eclipse.cdt.core.browser.UnknownTypeInfo
not used anywhere.
org.eclipse.cdt.core.CDescriptorEvent
register `ICProjectDescriptionListener` for `CProjectDescriptionEvent`
org.eclipse.cdt.core.dom.ast.ASTSignatureUtil
The class is provided for testing purposes, only. It should not be used by clients. Within CDT it is recommended to use `ASTStringUtil`, instead.
org.eclipse.cdt.core.dom.ast.c.CASTVisitor
you can use `ASTVisitor`, instead.
org.eclipse.cdt.core.dom.ast.cpp.CPPASTVisitor
you can use `ASTVisitor`, instead.
org.eclipse.cdt.core.dom.CDOM
This class does not take into account language mappings. Use `ILanguage` instead.
org.eclipse.cdt.core.model.util.CElementBaseLabels
Use org.eclipse.cdt.ui.CElementLabelProvider instead. Internally you can also use org.eclipse.cdt.internal.ui.viewsupport.CElementLabels.
org.eclipse.cdt.core.parser.CodeReader
replaced by `FileContent`
org.eclipse.cdt.core.parser.CodeReaderCache
org.eclipse.cdt.core.resources.ScannerInfo
Since CDT 4.0 not used for the "new style" projects.
org.eclipse.cdt.core.resources.ScannerProvider
Since CDT 4.0 replaced by `ScannerInfoProviderProxy`. Still used as a default for projects created by earlier CDT versions.
org.eclipse.cdt.core.settings.model.util.CSettingEntryFactory
Since CDT 9.0. Use corresponding `CDataUtil` methods instead.
org.eclipse.cdt.core.settings.model.util.XmlStorageElement
org.eclipse.cdt.core.templateengine.TemplateEngineMessages
Provide your own messages.
org.eclipse.cdt.utils.elf.SymbolSortCompare
This class is slated for removal, it is not used by the CDT classes

Deprecated Fields
Field
Description
org.eclipse.cdt.core.dom.ast.c.ICASTSimpleDeclSpecifier.t_Bool
Replaced by `IASTSimpleDeclSpecifier.t_bool`.
org.eclipse.cdt.core.dom.ast.c.ICBasicType.t_Bool
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.NAME
Use `ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.NAME_SPECIFIER` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorInitializer.EXPRESSION
Use `ICPPASTConstructorInitializer.ARGUMENT` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDeclarator.CONSTRUCTOR_CHAIN_MEMBER
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTLiteralExpression.lk_last
All constants must be defined in `IASTLiteralExpression`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.NEW_TYPEID_ARRAY_EXPRESSION
the id-expressions are part of the type-id.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.INITIALIZER_VALUE
Replaced by `ICPPASTSimpleTypeConstructorExpression.INITIALIZER`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_bool
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_char
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_double
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_float
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_int
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_long
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_short
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_signed
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_unsigned
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_unspecified
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_void
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.t_wchar_t
Not used.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplateId.EMPTY_ARG_ARRAY
Use IASTNode.EMPTY_NODE_ARRAY instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPBasicType.LAST
Don't use the constant, more flags may be added for supporting future c++ standards.
org.eclipse.cdt.core.dom.ast.cpp.ICPPBasicType.t_bool
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPBasicType.t_wchar_t
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassTemplatePartialSpecialization.EMPTY_PARTIAL_SPECIALIZATION_ARRAY
Use `ICPPClassTemplatePartialSpecialization.EMPTY_ARRAY`
org.eclipse.cdt.core.dom.ast.gnu.c.IGCCASTSimpleDeclSpecifier.TYPEOF_EXPRESSION
Replaced by `IASTSimpleDeclSpecifier.DECLTYPE_EXPRESSION`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage.GNU_LATEST_VERSION_MAJOR
This was meant for internal use only.
org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage.GNU_LATEST_VERSION_MINOR
This was meant for internal use only.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTSimpleDeclSpecifier.TYPEOF_EXPRESSION
Replaced by `IASTSimpleDeclSpecifier.DECLTYPE_EXPRESSION`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPBasicType.t_typeof
don't use this constant.
org.eclipse.cdt.core.dom.ast.IASTAttributeOwner.ATTRIBUTE
Not used.
org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier.ALIGNMENT_SPECIFIER
Not used.
org.eclipse.cdt.core.dom.ast.IASTLabelStatement.EMPTY_LABEL_STATEMENT_ARRAY
use `IASTLabelStatement.EMPTY_ARRAY` instead
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit.EXPANSION_NAME
names for macro expansions are nested inside of `IASTPreprocessorMacroExpansion`.
org.eclipse.cdt.core.dom.ast.IASTUnaryExpression.op_typeof
Shall not be used, 'typeof something' is not an expression, it's a declaration specifier.
org.eclipse.cdt.core.dom.ast.IBasicType.t_char
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.IBasicType.t_double
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.IBasicType.t_float
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.IBasicType.t_int
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.IBasicType.t_unspecified
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.IBasicType.t_void
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.ILabel.EMPTY_LABEL_ARRAY
use `ILabel.EMPTY_ARRAY` instead
org.eclipse.cdt.core.dom.ast.IProblemBinding.LAST_PROBLEM
There may be additional problems.
org.eclipse.cdt.core.dom.ILinkage.MAX_LINKAGE_ID
org.eclipse.cdt.core.dom.IPDOMManager.ID_FULL_INDEXER
The full indexer has been removed.
org.eclipse.cdt.core.ErrorParserManager.PREF_ERROR_PARSER
since CDT 4.0.
org.eclipse.cdt.core.formatter.CodeFormatter.K_COMPILATION_UNIT
Use #K_TRANSLATION_UNIT
org.eclipse.cdt.core.index.IIndexManager.SKIP_PROVIDED
Extension fragments are now used depending on their configuration. Use one of the ADD_EXTENSION_XX flags instead.
org.eclipse.cdt.core.model.ElementChangedEvent.PRE_AUTO_BUILD
- no longer used, such deltas are now notified during POST_CHANGE
org.eclipse.cdt.core.model.ICElement.C_CLASS_CTOR
use `IMethodDeclaration.isConstructor()`
org.eclipse.cdt.core.model.ICElement.C_CLASS_DTOR
use `IMethodDeclaration.isDestructor()`
org.eclipse.cdt.core.model.ICElement.C_STORAGE_EXTERN
not used anymore
org.eclipse.cdt.core.model.ICElement.C_STORAGE_STATIC
use `IDeclaration.isStatic()`
org.eclipse.cdt.core.model.ICElement.CPP_FRIEND
use `IMethodDeclaration.isFriend()`
org.eclipse.cdt.core.model.ICElement.CPP_PRIVATE
use `IMember.getVisibility()`
org.eclipse.cdt.core.model.ICElement.CPP_PROTECTED
use `IMember.getVisibility()`
org.eclipse.cdt.core.model.ICElement.CPP_PUBLIC
use `IMember.getVisibility()`
org.eclipse.cdt.core.model.ILanguage.OPTION_ADD_COMMENTS
Has no effect.
org.eclipse.cdt.core.model.ILanguage.OPTION_IS_SOURCE_UNIT
Has no effect.
org.eclipse.cdt.core.model.ITranslationUnit.AST_CREATE_COMMENT_NODES
The option has no effect.
org.eclipse.cdt.core.parser.IProblem.A_NAMESPACE_NAME
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_CONDITION
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_CONDITIONAL_MISMATCH
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_INCLUDE_FILENAME
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_MACRO_NAME
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_POUND_ERROR
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_POUND_WARNING
Not used.
org.eclipse.cdt.core.parser.IProblem.A_PREPROC_UNKNOWN_DIRECTIVE
Not used.
org.eclipse.cdt.core.parser.IProblem.A_SCANNER_BADCHAR
Not used.
org.eclipse.cdt.core.parser.IProblem.A_SYMBOL_NAME
Not used.
org.eclipse.cdt.core.parser.IProblem.A_TYPE_NAME
Not used.
org.eclipse.cdt.core.parser.IProblem.FILENAME_NOT_PROVIDED
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_AMBIGUOUS_LOOKUP
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_BAD_VISIBILITY
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_CIRCULAR_INHERITANCE
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_ILLFORMED_FRIEND
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_CONVERSION_TYPE
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_OVERLOAD
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_TEMPLATE
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_TEMPLATE_ARGUMENT
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_TEMPLATE_PARAMETER
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_TYPE
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_INVALID_USING
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_MALFORMED_EXPRESSION
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_NAME_NOT_FOUND
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_NAME_NOT_PROVIDED
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_RECURSIVE_TEMPLATE_INSTANTIATION
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_REDECLARED_TEMPLATE_PARAMETER
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_UNABLE_TO_RESOLVE_FUNCTION
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTIC_UNIQUE_NAME_PREDEFINED
Not used.
org.eclipse.cdt.core.parser.IProblem.SEMANTICS_RELATED
Not used.
org.eclipse.cdt.core.parser.IToken.t_and
Use `IToken.tAND`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_and_eq
Use `IToken.tAMPERASSIGN`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_bitand
Use `IToken.tAMPER`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_bitor
Use `IToken.tBITOR`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_compl
Use `IToken.tBITCOMPLEMENT`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_not
Use `IToken.tNOT`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_not_eq
Use `IToken.tNOTEQUAL` @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_or
Use `IToken.tOR` @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_or_eq
Use `IToken.tBITORASSIGN`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_xor
Use `IToken.tXOR`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.t_xor_eq
Use `IToken.tXORASSIGN`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.tBLOCKCOMMENT
Not used. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.tCOMMENT
Not used. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.tCOMPL
Use `IToken.tBITCOMPLEMENT`. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.IToken.tMACROEXP
Not used. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.parser.util.HashTable.minHashSize
Don't depend on this implementation detail. @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.OP_COPY
org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.OP_SET
org.eclipse.cdt.core.settings.model.ICDescriptionDelta.SOURCE_ENTENSIONS
Use ICDescriptionDelta.SOURCE_EXTENSIONS @noreference This field is not intended to be referenced by clients.
org.eclipse.cdt.utils.spawner.Spawner.CTRLC
org.eclipse.cdt.utils.spawner.Spawner.HUP
org.eclipse.cdt.utils.spawner.Spawner.INT
org.eclipse.cdt.utils.spawner.Spawner.KILL
org.eclipse.cdt.utils.spawner.Spawner.NOOP
org.eclipse.cdt.utils.spawner.Spawner.TERM

Deprecated Methods
Method
Description
org.eclipse.cdt.core.AbstractCExtension.getExtensionReference()
Use `AbstractCExtension.getConfigExtensionReference()` instead.
org.eclipse.cdt.core.AbstractCExtension.setExtensionReference(ICExtensionReference)
org.eclipse.cdt.core.browser.AllTypesCache.getType(ICProject, int, IQualifiedTypeName)
never worked.
org.eclipse.cdt.core.browser.AllTypesCache.getTypes(ICProject, IQualifiedTypeName, boolean, boolean)
never worked.
org.eclipse.cdt.core.browser.IndexTypeInfo.addDerivedReference(ITypeReference)
org.eclipse.cdt.core.browser.IndexTypeInfo.addReference(ITypeReference)
org.eclipse.cdt.core.browser.IndexTypeInfo.canSubstituteFor(ITypeInfo)
org.eclipse.cdt.core.browser.IndexTypeInfo.encloses(ITypeInfo)
org.eclipse.cdt.core.browser.IndexTypeInfo.exists()
org.eclipse.cdt.core.browser.IndexTypeInfo.getDerivedReferences()
org.eclipse.cdt.core.browser.IndexTypeInfo.getEnclosedTypes()
org.eclipse.cdt.core.browser.IndexTypeInfo.getEnclosedTypes(int[])
org.eclipse.cdt.core.browser.IndexTypeInfo.getEnclosingNamespace(boolean)
org.eclipse.cdt.core.browser.IndexTypeInfo.getEnclosingType()
org.eclipse.cdt.core.browser.IndexTypeInfo.getEnclosingType(int[])
org.eclipse.cdt.core.browser.IndexTypeInfo.getRootNamespace(boolean)
org.eclipse.cdt.core.browser.IndexTypeInfo.getSubTypes()
org.eclipse.cdt.core.browser.IndexTypeInfo.getSuperTypeAccess(ITypeInfo)
org.eclipse.cdt.core.browser.IndexTypeInfo.getSuperTypes()
org.eclipse.cdt.core.browser.IndexTypeInfo.hasEnclosedTypes()
org.eclipse.cdt.core.browser.IndexTypeInfo.hasSubTypes()
org.eclipse.cdt.core.browser.IndexTypeInfo.hasSuperTypes()
org.eclipse.cdt.core.browser.IndexTypeInfo.isClass()
org.eclipse.cdt.core.browser.IndexTypeInfo.isEnclosed(ITypeInfo)
org.eclipse.cdt.core.browser.IndexTypeInfo.isEnclosed(ITypeSearchScope)
org.eclipse.cdt.core.browser.IndexTypeInfo.isEnclosedType()
org.eclipse.cdt.core.browser.IndexTypeInfo.isEnclosingType()
org.eclipse.cdt.core.browser.IndexTypeInfo.isReferenced(ITypeSearchScope)
org.eclipse.cdt.core.browser.IndexTypeInfo.isUndefinedType()
org.eclipse.cdt.core.browser.IndexTypeInfo.setCElementType(int)
org.eclipse.cdt.core.browser.ITypeInfo.addDerivedReference(ITypeReference)
org.eclipse.cdt.core.browser.ITypeInfo.addReference(ITypeReference)
org.eclipse.cdt.core.browser.ITypeInfo.canSubstituteFor(ITypeInfo)
org.eclipse.cdt.core.browser.ITypeInfo.encloses(ITypeInfo)
org.eclipse.cdt.core.browser.ITypeInfo.exists()
org.eclipse.cdt.core.browser.ITypeInfo.getDerivedReferences()
org.eclipse.cdt.core.browser.ITypeInfo.getEnclosedTypes()
org.eclipse.cdt.core.browser.ITypeInfo.getEnclosedTypes(int[])
org.eclipse.cdt.core.browser.ITypeInfo.getEnclosingNamespace(boolean)
org.eclipse.cdt.core.browser.ITypeInfo.getEnclosingType()
org.eclipse.cdt.core.browser.ITypeInfo.getEnclosingType(int[])
org.eclipse.cdt.core.browser.ITypeInfo.getRootNamespace(boolean)
org.eclipse.cdt.core.browser.ITypeInfo.getSubTypes()
org.eclipse.cdt.core.browser.ITypeInfo.getSuperTypeAccess(ITypeInfo)
org.eclipse.cdt.core.browser.ITypeInfo.getSuperTypes()
org.eclipse.cdt.core.browser.ITypeInfo.hasEnclosedTypes()
org.eclipse.cdt.core.browser.ITypeInfo.hasSubTypes()
org.eclipse.cdt.core.browser.ITypeInfo.hasSuperTypes()
org.eclipse.cdt.core.browser.ITypeInfo.isClass()
org.eclipse.cdt.core.browser.ITypeInfo.isEnclosed(ITypeInfo)
org.eclipse.cdt.core.browser.ITypeInfo.isEnclosed(ITypeSearchScope)
org.eclipse.cdt.core.browser.ITypeInfo.isEnclosedType()
org.eclipse.cdt.core.browser.ITypeInfo.isEnclosingType()
org.eclipse.cdt.core.browser.ITypeInfo.isReferenced(ITypeSearchScope)
org.eclipse.cdt.core.browser.ITypeInfo.isUndefinedType()
org.eclipse.cdt.core.browser.ITypeInfo.setCElementType(int)
org.eclipse.cdt.core.browser.TypeInfo.addDerivedReference(ITypeReference)
org.eclipse.cdt.core.browser.TypeInfo.addReference(ITypeReference)
org.eclipse.cdt.core.browser.TypeInfo.canSubstituteFor(ITypeInfo)
org.eclipse.cdt.core.browser.TypeInfo.compareTo(Object)
org.eclipse.cdt.core.browser.TypeInfo.encloses(ITypeInfo)
org.eclipse.cdt.core.browser.TypeInfo.exists()
org.eclipse.cdt.core.browser.TypeInfo.getCElementType()
org.eclipse.cdt.core.browser.TypeInfo.getDerivedReferences()
org.eclipse.cdt.core.browser.TypeInfo.getEnclosedTypes()
org.eclipse.cdt.core.browser.TypeInfo.getEnclosedTypes(int[])
org.eclipse.cdt.core.browser.TypeInfo.getEnclosingNamespace(boolean)
org.eclipse.cdt.core.browser.TypeInfo.getEnclosingProject()
org.eclipse.cdt.core.browser.TypeInfo.getEnclosingType()
org.eclipse.cdt.core.browser.TypeInfo.getEnclosingType(int[])
org.eclipse.cdt.core.browser.TypeInfo.getName()
org.eclipse.cdt.core.browser.TypeInfo.getQualifiedTypeName()
org.eclipse.cdt.core.browser.TypeInfo.getReferences()
org.eclipse.cdt.core.browser.TypeInfo.getResolvedReference()
org.eclipse.cdt.core.browser.TypeInfo.getRootNamespace(boolean)
org.eclipse.cdt.core.browser.TypeInfo.getSubTypes()
org.eclipse.cdt.core.browser.TypeInfo.getSuperTypeAccess(ITypeInfo)
org.eclipse.cdt.core.browser.TypeInfo.getSuperTypes()
org.eclipse.cdt.core.browser.TypeInfo.hasEnclosedTypes()
org.eclipse.cdt.core.browser.TypeInfo.hasSubTypes()
org.eclipse.cdt.core.browser.TypeInfo.hasSuperTypes()
org.eclipse.cdt.core.browser.TypeInfo.isClass()
org.eclipse.cdt.core.browser.TypeInfo.isEnclosed(ITypeInfo)
org.eclipse.cdt.core.browser.TypeInfo.isEnclosed(ITypeSearchScope)
org.eclipse.cdt.core.browser.TypeInfo.isEnclosedType()
org.eclipse.cdt.core.browser.TypeInfo.isEnclosingType()
org.eclipse.cdt.core.browser.TypeInfo.isReferenced()
org.eclipse.cdt.core.browser.TypeInfo.isReferenced(ITypeSearchScope)
org.eclipse.cdt.core.browser.TypeInfo.isUndefinedType()
org.eclipse.cdt.core.browser.TypeInfo.isValidType(int)
org.eclipse.cdt.core.browser.TypeInfo.setCElementType(int)
org.eclipse.cdt.core.build.CBuildConfiguration.getScannerInfoCache()
This method was never used in CDT.
org.eclipse.cdt.core.build.ICBuildConfigurationManager.getBuildConfiguration(IProject, Map<String, String>, String, IProgressMonitor)
clients really need to pick which toolchain they want a build config for. This method pretty much picks one at random.
org.eclipse.cdt.core.build.IToolChain.getResourcesFromCommand(String[], URI)
org.eclipse.cdt.core.build.IToolChain.getScannerInfo(IBuildConfiguration, Path, String[], IExtendedScannerInfo, IResource, URI)
org.eclipse.cdt.core.build.IToolChain.getVersion()
the version doesn't matter. id's for a given type must be unique.
org.eclipse.cdt.core.build.IToolChainManager.getToolChain(String, String, String)
version is now irrelevant. id's are unique.
org.eclipse.cdt.core.build.IToolChainManager.getToolChains(String)
we no longer organize toolchains by provider id.
org.eclipse.cdt.core.build.IToolChainManager.getToolChains(String, String)
toolchains no longer have multiple versions per id
org.eclipse.cdt.core.build.IToolChainProvider.getToolChain(String, String)
providers do not manage toolchains, call IToolManager.getToolChain() instead.
org.eclipse.cdt.core.CConventions.validateIdentifier(String)
Notice that the identifier is not being checked against language keywords. Use validateIdentifier(String id, AbstractCLikeLanguage language) instead.
org.eclipse.cdt.core.CCorePlugin.getAllErrorParsersIDs()
since CDT 6.1. Use `ErrorParserManager.getErrorParserAvailableIds()` instead
org.eclipse.cdt.core.CCorePlugin.getBinaryParser(IProject)
- use getBinaryParserExtensions(IProject project)
org.eclipse.cdt.core.CCorePlugin.getBinaryParserExtensions(IProject)
Use `CCorePlugin.getDefaultBinaryParserExtensions(IProject)` instead.
org.eclipse.cdt.core.CCorePlugin.getCDescriptorManager()
Settings should be set per ICConfigurationDescription rather than global to the project. Please use `CCorePlugin.getProjectDescription(IProject, boolean)` to fetch the ICProjectDescription for the project. And use `ICProjectDescription.getConfigurations()` to get an array of ICConfigurationDescriptions, which have similar API to ICDescriptor, allowing you to store settings and configure extensions at the Configuration level rather than at the project level.
org.eclipse.cdt.core.CCorePlugin.getCProjectDescription(IProject)
use `CCorePlugin.getProjectDescription(IProject, boolean)` instead
org.eclipse.cdt.core.CCorePlugin.getCProjectDescription(IProject, boolean)
org.eclipse.cdt.core.CCorePlugin.getDOM()
use `ITranslationUnit` or `ILanguage` to construct ASTs, instead.
org.eclipse.cdt.core.CCorePlugin.getErrorParser(String)
since CDT 6.1. Use `ErrorParserManager.getErrorParserCopy(String)` instead
org.eclipse.cdt.core.CCorePlugin.getPDOMManager()
use getIndexManager().
org.eclipse.cdt.core.CommandLauncher.waitAndRead(OutputStream, OutputStream)
org.eclipse.cdt.core.dom.ast.ASTTypeUtil.finishTranslationUnit()
This method is no longer used and is scheduled for removal in 10.0.
org.eclipse.cdt.core.dom.ast.ASTTypeUtil.isConst(IType)
don't use it does something strange
org.eclipse.cdt.core.dom.ast.ASTTypeUtil.startTranslationUnit()
This method is no longer used and is scheduled for removal in 10.0.
org.eclipse.cdt.core.dom.ast.c.ICASTDesignatedInitializer.getOperandInitializer()
Replaced by `ICASTDesignatedInitializer.getOperand()`;
org.eclipse.cdt.core.dom.ast.c.ICASTDesignatedInitializer.setOperandInitializer(IASTInitializer)
Replaced by setOperand();
org.eclipse.cdt.core.dom.ast.c.ICNodeFactory.newDesignatedInitializer(IASTInitializer)
Replaced by `ICNodeFactory.newDesignatedInitializer(IASTInitializerClause)`.
org.eclipse.cdt.core.dom.ast.c.ICNodeFactory.newSimpleDeclSpecifierGCC(IASTExpression)
Replaced by `ICNodeFactory.newSimpleDeclSpecifier()`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTAmbiguousTemplateArgument.addIdExpression(IASTExpression)
Replaced by `ICPPASTAmbiguousTemplateArgument.addExpression(IASTExpression)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTAmbiguousTemplateArgument.addIdExpression(IASTIdExpression)
Replaced by `ICPPASTAmbiguousTemplateArgument.addIdExpression(IASTExpression)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.getName()
Use getNameSpecifier() instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.setName(IASTName)
Use setNameSpecifier() instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier.setFinal(boolean)
Use setVirtSpecifier() instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorChainInitializer.getInitializerValue()
Replaced by `ICPPASTConstructorChainInitializer.getInitializer()`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorChainInitializer.setInitializerValue(IASTExpression)
Replaced by `ICPPASTConstructorChainInitializer.setInitializer(IASTInitializer)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorInitializer.getExpression()
Replaced by `ICPPASTConstructorInitializer.getArguments()`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorInitializer.setExpression(IASTExpression)
Replaced by `ICPPASTConstructorInitializer.setArguments(IASTInitializerClause[])`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTEnumerationSpecifier.setIsScoped(boolean)
Use setScopeToken instead If `isScoped == true` is passed, the `ScopeToken.CLASS` scope token is assumed.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDeclarator.addConstructorToChain(ICPPASTConstructorChainInitializer)
Use `ICPPASTFunctionDefinition.addMemberInitializer(ICPPASTConstructorChainInitializer)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDeclarator.getConstructorChain()
Use `ICPPASTFunctionDefinition.getMemberInitializers()`, instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDeclarator.setFinal(boolean)
Use `ICPPASTFunctionDeclarator.addVirtSpecifier(ICPPASTVirtSpecifier)` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDeclarator.setOverride(boolean)
Use `ICPPASTFunctionDeclarator.addVirtSpecifier(ICPPASTVirtSpecifier)` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.addNewTypeIdArrayExpression(IASTExpression)
the id-expressions are part of the type-id
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.getNewInitializer()
Replaced by `ICPPASTNewExpression.getInitializer()`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.getNewPlacement()
Replaced by `ICPPASTNewExpression.getPlacementArguments()`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.getNewTypeIdArrayExpressions()
the id-expressions are part of the type-id.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.setNewInitializer(IASTExpression)
Replaced by `ICPPASTNewExpression.setInitializer(IASTInitializer)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNewExpression.setNewPlacement(IASTExpression)
Replaced by `ICPPASTNewExpression.setPlacementArguments(IASTInitializerClause[])`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.getInitialValue()
Replaced by `ICPPASTSimpleTypeConstructorExpression.getInitializer()`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.getSimpleType()
Replaced by `ICPPASTSimpleTypeConstructorExpression.getDeclSpecifier()`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.setInitialValue(IASTExpression)
Replaced by `ICPPASTSimpleTypeConstructorExpression.setInitializer(IASTInitializer)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression.setSimpleType(int)
Replaced by `ICPPASTSimpleTypeConstructorExpression.setDeclSpecifier(ICPPASTDeclSpecifier)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplateDeclaration.addTemplateParamter(ICPPASTTemplateParameter)
Use `ICPPASTTemplateDeclaration.addTemplateParameter(ICPPASTTemplateParameter)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplatedTypeTemplateParameter.addTemplateParamter(ICPPASTTemplateParameter)
Use `ICPPASTTemplatedTypeTemplateParameter.addTemplateParameter(ICPPASTTemplateParameter)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTranslationUnit.resolveBinding()
Use `ICPPASTTranslationUnit.getGlobalNamespace()`
org.eclipse.cdt.core.dom.ast.cpp.ICPPBasicType.getQualifierBits()
use `IBasicType.getModifiers()`, instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getAllDeclaredMethods(IASTNode)
Use `ICPPClassType.getAllDeclaredMethods()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getBases(IASTNode)
Use `ICPPClassType.getBases()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getConstructors(IASTNode)
Use `ICPPClassType.getConstructors()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getDeclaredFields(IASTNode)
Use `ICPPClassType.getDeclaredFields()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getDeclaredMethods(IASTNode)
Use `ICPPClassType.getDeclaredMethods()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getFields(IASTNode)
Use `ICPPClassType.getFields()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getFriends(IASTNode)
Use `ICPPClassType.getFriends()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getMethods(IASTNode)
Use `ICPPClassType.getMethods()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getNestedClasses(IASTNode)
Use `ICPPClassType.getNestedClasses()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.getUsingDeclarations(IASTNode)
Use `ICPPClassType.getUsingDeclarations()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPClassSpecialization.specializeMember(IBinding, IASTNode)
Use `ICPPClassSpecialization.specializeMember(IBinding)` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor.getConstructorChainExecution(IASTNode)
use `ICPPConstructor.getConstructorChainExecution()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPFunctionType.getThisType()
function types don't relate to this pointers at all.
org.eclipse.cdt.core.dom.ast.cpp.ICPPMethodSpecialization.getExceptionSpecification(IASTNode)
Use `ICPPFunction.getExceptionSpecification()` instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newAttributeSpecifier()
Use newAttributeList() instead.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newBaseSpecifier(IASTName, int, boolean)
Replaced by `ICPPNodeFactory.newBaseSpecifier(ICPPASTNameSpecifier, int, boolean)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newConstructorChainInitializer(IASTName, IASTExpression)
Replaced by `ICPPNodeFactory.newConstructorChainInitializer(IASTName, IASTInitializer)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newConstructorInitializer(IASTExpression)
Replaced by `ICPPNodeFactory.newConstructorInitializer(IASTInitializerClause[])`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newEnumerationSpecifier(boolean, IASTName, ICPPASTDeclSpecifier)
Use `newEnumerationSpecifier(ScopeToken, IASTName, ICPPASTDeclSpecifier)` instead. If `isScoped == true` is passed `ScopeToken.CLASS` is assumed.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newFunctionCallExpression(IASTExpression, IASTExpression)
Replaced by `ICPPNodeFactory.newFunctionCallExpression(IASTExpression, IASTInitializerClause[])`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newNewExpression(IASTExpression, IASTExpression, IASTTypeId)
Replaced by `ICPPNodeFactory.newNewExpression(IASTInitializerClause[], IASTInitializer, IASTTypeId)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newQualifiedName()
Replaced by `ICPPNodeFactory.newQualifiedName(ICPPASTName)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newReferenceOperator()
Replaced by `ICPPNodeFactory.newReferenceOperator(boolean)`.
org.eclipse.cdt.core.dom.ast.cpp.ICPPNodeFactory.newTypenameExpression(IASTName, IASTExpression, boolean)
Replaced by `ICPPNodeFactory.newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier, IASTInitializer)`
org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateNonTypeParameter.getDefault()
Use `ICPPTemplateParameter.getDefaultValue()`.
org.eclipse.cdt.core.dom.ast.cpp.SemanticQueries.getPureVirtualMethods(ICPPClassType, IASTNode)
Use `SemanticQueries` `SemanticQueries.getPureVirtualMethods(ICPPClassType)` instead.
org.eclipse.cdt.core.dom.ast.gnu.c.GCCLanguage.getScannerExtensionConfiguration()
Since 5.4 not called by the framework. Override `GCCLanguage.getScannerExtensionConfiguration(IScannerInfo)` instead.
org.eclipse.cdt.core.dom.ast.gnu.c.IGCCASTSimpleDeclSpecifier.getTypeofExpression()
Replaced by `IASTSimpleDeclSpecifier.getDeclTypeExpression()`.
org.eclipse.cdt.core.dom.ast.gnu.c.IGCCASTSimpleDeclSpecifier.setTypeofExpression(IASTExpression)
Replaced by `IASTSimpleDeclSpecifier.setDeclTypeExpression(IASTExpression)`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage.getScannerExtensionConfiguration()
Since 5.4 not called by the framework. Override `GPPLanguage.getScannerExtensionConfiguration(IScannerInfo)` instead.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTSimpleDeclSpecifier.getTypeofExpression()
Replaced by `IASTSimpleDeclSpecifier.getDeclTypeExpression()`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTSimpleDeclSpecifier.setTypeofExpression(IASTExpression)
Replaced by `IASTSimpleDeclSpecifier.setDeclTypeExpression(IASTExpression)`.
org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPBasicType.getTypeofType()
don't use this method.
org.eclipse.cdt.core.dom.ast.IArrayType.getArraySizeExpression()
Replaced by `IArrayType.getSize()`.
org.eclipse.cdt.core.dom.ast.IASTArraySubscriptExpression.getSubscriptExpression()
Replaced by `IASTArraySubscriptExpression.getArgument()`
org.eclipse.cdt.core.dom.ast.IASTArraySubscriptExpression.setSubscriptExpression(IASTExpression)
Replaced by `IASTArraySubscriptExpression.setArgument(IASTInitializerClause)`
org.eclipse.cdt.core.dom.ast.IASTAttributeOwner.addAttribute(IASTAttribute)
Ignored. Attributes should not be assigned to nodes directly, but have to be wrapped by attribute specifiers.
org.eclipse.cdt.core.dom.ast.IASTAttributeSpecifier.addAttribute(IASTAttribute)
Use IASTAttributeList.addAttribute() instead.
org.eclipse.cdt.core.dom.ast.IASTAttributeSpecifier.getAttributes()
Use IASTAttributeList.getAttributes() instead.
org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier.getAlignmentSpecifiers()
Use ICASTDeclSpecifier.getAlignmentSpecifiers() for C code. In C++ code, alignment specifiers are now stored in the attribute specifier sequence.
org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier.setAlignmentSpecifiers(IASTAlignmentSpecifier[])
Use ICASTDeclSpecifier.setAlignmentSpecifiers() for C code. In C++ code, alignment specifiers are now stored in the attribute specifier sequence.
org.eclipse.cdt.core.dom.ast.IASTInitializerList.addInitializer(IASTInitializer)
Replaced by `IASTInitializerList.addClause(IASTInitializerClause)`.
org.eclipse.cdt.core.dom.ast.IASTInitializerList.getInitializers()
Replaced by `IASTInitializerList.getClauses()`.
org.eclipse.cdt.core.dom.ast.IASTLiteralExpression.setValue(String)
Replaced by `IASTLiteralExpression.setValue(char[])`.
org.eclipse.cdt.core.dom.ast.IASTMacroExpansion.getExpansionLocations()
use `IASTNodeLocation.asFileLocation()`.
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit.getParserLanguage()
Use `IASTTranslationUnit.getLinkage()` instead
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit.selectNodeForLocation(String, int, int)
use `IASTTranslationUnit.getNodeSelector(String)`, instead.
org.eclipse.cdt.core.dom.ast.IBasicType.getType()
Use the type-safe version getKind(), instead.
org.eclipse.cdt.core.dom.ast.IBasicType.getValue()
Types don't have values.
org.eclipse.cdt.core.dom.ast.INodeFactory.newFunctionCallExpression(IASTExpression, IASTExpression)
Replaced by `INodeFactory.newFunctionCallExpression(IASTExpression, IASTInitializerClause[])`
org.eclipse.cdt.core.dom.ast.INodeFactory.newGCCAttributeSpecifier()
Use newGCCAttributeList() instead.
org.eclipse.cdt.core.dom.ast.INodeFactory.newInitializerExpression(IASTExpression)
Replaced by `INodeFactory.newEqualsInitializer(IASTInitializerClause)`.
org.eclipse.cdt.core.dom.ast.IScope.find(String)
Use {`IScope.find(String, IASTTranslationUnit)`
org.eclipse.cdt.core.dom.ast.IScope.getBindings(IASTName, boolean, boolean)
Use `IScope.getBindings(ScopeLookupData)` instead
org.eclipse.cdt.core.dom.ast.IScope.getBindings(IASTName, boolean, boolean, IIndexFileSet)
Use `IScope.getBindings(ScopeLookupData)` instead
org.eclipse.cdt.core.dom.ast.IValue.getInternalExpression()
Returns an empty character array.
org.eclipse.cdt.core.dom.ast.IValue.getUnknownBindings()
Returns an empty array.
org.eclipse.cdt.core.dom.ast.IValue.numericalValue()
Use numberValue() instead.
org.eclipse.cdt.core.dom.IName.toCharArray()
Using this method is problematic, because for names from the index never contain qualification or template arguments, which is different for names from the AST. Use `IName.getSimpleID()`, instead.
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.createScanner(CodeReader, IScannerInfo, ICodeReaderFactory, IParserLogService)
Replaced by `AbstractCLikeLanguage.createScanner(FileContent, IScannerInfo, IncludeFileContentProvider, IParserLogService)`
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getASTTranslationUnit(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, int, IParserLogService)
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getASTTranslationUnit(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, IParserLogService)
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getCompletionNode(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, IParserLogService, int)
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getScannerExtensionConfiguration()
Do not override this method. Override `AbstractCLikeLanguage.getScannerExtensionConfiguration(IScannerInfo)` instead.
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getSelectedNames(IASTTranslationUnit, int, int)
org.eclipse.cdt.core.dom.parser.AbstractScannerExtensionConfiguration.createFunctionStyleMacro(String, String, String[])
use `AbstractScannerExtensionConfiguration.addMacro(String, String)`
org.eclipse.cdt.core.dom.parser.AbstractScannerExtensionConfiguration.createMacro(String, String)
use `AbstractScannerExtensionConfiguration.addMacro(String, String)`
org.eclipse.cdt.core.dom.parser.AbstractScannerExtensionConfiguration.initializeMacroValuesTo1()
see `IScannerExtensionConfiguration.initializeMacroValuesTo1()`
org.eclipse.cdt.core.dom.parser.c.ICParserExtensionConfiguration.supportGCCOtherBuiltinSymbols()
use `ICParserExtensionConfiguration.getBuiltinBindingsProvider()` instead.
org.eclipse.cdt.core.dom.parser.cpp.ICPPParserExtensionConfiguration.supportGCCOtherBuiltinSymbols()
use `ICPPParserExtensionConfiguration.getBuiltinBindingsProvider()` instead.
org.eclipse.cdt.core.dom.parser.cpp.ICPPParserExtensionConfiguration.supportMinAndMaxOperators()
use `IScannerExtensionConfiguration.supportMinAndMaxOperators()`, instead.
org.eclipse.cdt.core.dom.parser.cpp.ICPPParserExtensionConfiguration.supportRestrictKeyword()
configure extra keywords, via `IScannerExtensionConfiguration.getAdditionalKeywords()`
org.eclipse.cdt.core.dom.parser.GNUScannerExtensionConfiguration.addAdditionalGNUKeywords(CharArrayIntMap)
simply derive from this class and use `AbstractScannerExtensionConfiguration.addKeyword(char[], int)` to add additional keywords.
org.eclipse.cdt.core.dom.parser.GNUScannerExtensionConfiguration.getAdditionalGNUMacros()
simply derive from this class and use `AbstractScannerExtensionConfiguration.addMacro(String, String)` to add additional macros.
org.eclipse.cdt.core.dom.parser.IScannerExtensionConfiguration.initializeMacroValuesTo1()
empty macros are taken as they are. It is the task of configuration to provide the correct values. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=215789
org.eclipse.cdt.core.ErrorParserManager.appendToScratchBuffer(String)
Use IErrorParser2 interface to handle multiline messages rather than scratch buffer.
org.eclipse.cdt.core.ErrorParserManager.clearScratchBuffer()
Use IErrorParser2 interface to handle multiline messages rather than scratch buffer.
org.eclipse.cdt.core.ErrorParserManager.collectFiles(IProject, List<IResource>)
Use `ErrorParserManager.findFileName(java.lang.String)` for searches.
org.eclipse.cdt.core.ErrorParserManager.findFilePath(String)
Use `ErrorParserManager.findFileName(java.lang.String)` for searches.
org.eclipse.cdt.core.ErrorParserManager.getScratchBuffer()
Use IErrorParser2 interface to handle multiline messages rather than scratch buffer.
org.eclipse.cdt.core.ErrorParserManager.getWorkingDirectory()
use `ErrorParserManager.getWorkingDirectoryURI()` instead
org.eclipse.cdt.core.ErrorParserManager.hasErrors()
The semantics of this function is inconsistent. As far as build is concerned there is no difference between errors `IMarkerGenerator.SEVERITY_ERROR_RESOURCE` and `IMarkerGenerator.SEVERITY_ERROR_BUILD`
org.eclipse.cdt.core.ErrorParserManager.isConflictingName(String)
Use `ErrorParserManager.findFileName(java.lang.String)` for searches.
org.eclipse.cdt.core.ErrorParserManager.popDirectory()
use `ErrorParserManager.popDirectoryURI()` instead
org.eclipse.cdt.core.ErrorParserManager.reportProblems()
as of 5.2. This method is no longer reporting problems. The problem markers are generated after processing each line.
org.eclipse.cdt.core.ICDescriptor.create(String, String)
Use `ICConfigurationDescription.create(String, String)`
org.eclipse.cdt.core.ICDescriptor.get(String)
Use `ICConfigurationDescription.get(String)`
org.eclipse.cdt.core.ICDescriptor.get(String, boolean)
org.eclipse.cdt.core.ICDescriptor.getProjectData(String)
Use `ICDescriptor.getProjectStorageElement(String)`
org.eclipse.cdt.core.ICDescriptor.remove(String)
Use `ICConfigurationDescription.remove(String)`
org.eclipse.cdt.core.ICDescriptor.remove(ICExtensionReference)
Use `ICConfigurationDescription.remove(org.eclipse.cdt.core.settings.model.ICConfigExtensionReference)`
org.eclipse.cdt.core.ICExtension.getExtensionReference()
Use `ICExtension.getConfigExtensionReference()` instead.
org.eclipse.cdt.core.ICommandLauncher.waitAndRead(OutputStream, OutputStream)
Use `ICommandLauncher.waitAndRead(OutputStream, OutputStream, IProgressMonitor)` instead.
org.eclipse.cdt.core.IMarkerGenerator.addMarker(IResource, int, String, int, String)
Use public void addMarker(org.eclipse.cdt.core.ProblemMarkerInfo problem) instead.
org.eclipse.cdt.core.index.IIndex.getFile(int, IIndexFileLocation)
Use `IIndex.getFile(int, IIndexFileLocation, ISignificantMacros)` or `IIndex.getFiles(int, IIndexFileLocation)`.
org.eclipse.cdt.core.index.IIndexFile.getEncodingHashcode()
Returns 0.
org.eclipse.cdt.core.index.IIndexFile.getScannerConfigurationHashcode()
Returns 0.
org.eclipse.cdt.core.ISourceFinder.toLocalPath(IAdaptable, String)
This method is unused in CDT code base. Use `ISourceFinder.toLocalPath(String)` or request undeprecating on the cdt-dev mailing list.
org.eclipse.cdt.core.model.AbstractLanguage.getASTTranslationUnit(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, int, IParserLogService)
replaced by `AbstractLanguage.getASTTranslationUnit(FileContent, IScannerInfo, IncludeFileContentProvider, IIndex, int, IParserLogService)`
org.eclipse.cdt.core.model.AssemblyLanguage.getASTTranslationUnit(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, IParserLogService)
org.eclipse.cdt.core.model.AssemblyLanguage.getCompletionNode(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, IParserLogService, int)
org.eclipse.cdt.core.model.IEnumeration.getTypeName()
Useless method that always returns "enum".
org.eclipse.cdt.core.model.ILanguage.getASTTranslationUnit(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, int, IParserLogService)
replaced by `ILanguage.getASTTranslationUnit(FileContent, IScannerInfo, IncludeFileContentProvider, IIndex, int, IParserLogService)`
org.eclipse.cdt.core.model.ILanguage.getASTTranslationUnit(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, IParserLogService)
replaced by `ILanguage.getASTTranslationUnit(FileContent, IScannerInfo, IncludeFileContentProvider, IIndex, int, IParserLogService)`
org.eclipse.cdt.core.model.ILanguage.getCompletionNode(CodeReader, IScannerInfo, ICodeReaderFactory, IIndex, IParserLogService, int)
replaced by `ILanguage.getCompletionNode(FileContent, IScannerInfo, IncludeFileContentProvider, IIndex, IParserLogService, int)`.
org.eclipse.cdt.core.model.ILanguage.getSelectedNames(IASTTranslationUnit, int, int)
replaced by `IASTTranslationUnit.getNodeSelector(String)`.
org.eclipse.cdt.core.model.IStructureDeclaration.getTypeName()
use isUnion(), isClass(), isStruct()
org.eclipse.cdt.core.model.ITranslationUnit.findSharedWorkingCopy(IBufferFactory)
use `ITranslationUnit.findSharedWorkingCopy()`, or CDTUITools.getWorkingCopyManager() instead.
org.eclipse.cdt.core.model.ITranslationUnit.getCodeReader()
Use `FileContent.create(ITranslationUnit)`, instead.
org.eclipse.cdt.core.model.ITranslationUnit.getSharedWorkingCopy(IProgressMonitor, IBufferFactory)
use `ITranslationUnit.getSharedWorkingCopy(IProgressMonitor, IProblemRequestor)`, or CDTUITools.getWorkingCopyManager() instead.
org.eclipse.cdt.core.model.ITranslationUnit.getSharedWorkingCopy(IProgressMonitor, IBufferFactory, IProblemRequestor)
use `ITranslationUnit.getSharedWorkingCopy(IProgressMonitor, IProblemRequestor)`, or CDTUITools.getWorkingCopyManager() instead.
org.eclipse.cdt.core.model.ITranslationUnit.getWorkingCopy(IProgressMonitor, IBufferFactory)
use `ITranslationUnit.getWorkingCopy(IProgressMonitor)`, or CDTUITools.getWorkingCopyManager() instead.
org.eclipse.cdt.core.model.ITranslationUnit.parse()
don't use this method.
org.eclipse.cdt.core.model.LanguageManager.getAllContentTypes()
use getRegisteredContentTypes() instead.
org.eclipse.cdt.core.model.LanguageManager.getContributedModelBuilderFor(TranslationUnit)
use `LanguageManager.getContributedModelBuilderFor(ITranslationUnit)`, instead.
org.eclipse.cdt.core.parser.FileContent.adapt(CodeReader)
org.eclipse.cdt.core.parser.IncludeFileContentProvider.adapt(ICodeReaderFactory)
Provided to achieve backwards compatibility.
org.eclipse.cdt.core.parser.IScanner.setScanComments(boolean)
Has no effect.
org.eclipse.cdt.core.parser.IToken.isOperator()
org.eclipse.cdt.core.parser.ParserUtil.createReader(String, Iterator<IWorkingCopy>)
org.eclipse.cdt.core.parser.util.ArrayUtil.append(Class<?>, Object[], int, Object)
Use `ArrayUtil.appendAt(Class, Object[], int, Object)` instead.
org.eclipse.cdt.core.parser.util.ArrayUtil.removeNullsAfter(Class<?>, Object[], int)
Use `ArrayUtil.trim(Object[], int)` or `ArrayUtil.trimAt(Class, Object[], int)` instead
org.eclipse.cdt.core.parser.util.CharTable.keyArray()
Use `CharTable.keys()` instead.
org.eclipse.cdt.core.settings.model.ICConfigurationDescription.getLanguageSettingForFile(IPath, boolean)
Deprecated as of CDT 8.1. This method returns settings supplied by MBS only.
org.eclipse.cdt.core.settings.model.util.CDataUtil.objectsEqual(Object, Object)
Use `Object.equals(Object)`
org.eclipse.cdt.utils.cdtvariables.CdtVariableResolver.checkVariables(String, IVariableSubstitutor)
Use `CdtVariableResolver.resolveToString(java.lang.String, org.eclipse.cdt.utils.cdtvariables.IVariableSubstitutor)` which would do full nested expansion.
org.eclipse.cdt.utils.elf.parser.ElfBinaryArchive.addArchiveMembers(AR.ARHeader[], ArrayList)
use `ElfBinaryArchive.createArchiveMembers(ARHeader[])`
org.eclipse.cdt.utils.envvar.PrefsStorableEnvironment.serialize(ICStorageElement)
org.eclipse.cdt.utils.PathUtil.equal(IPath, IPath)
Use `PathUtil.equalPath(IPath, IPath)` instead.
org.eclipse.cdt.utils.pty.PTY.isSupported()
org.eclipse.cdt.utils.spawner.ProcessFactory.exec(String)
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677
org.eclipse.cdt.utils.spawner.ProcessFactory.exec(String, String[])
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677
org.eclipse.cdt.utils.spawner.ProcessFactory.exec(String, String[], File)
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677

Deprecated Constructors
Constructor
Description
org.eclipse.cdt.core.ErrorParserManager(IProject, IPath, IMarkerGenerator, String[])
use `ErrorParserManager(IProject, URI, IMarkerGenerator, String[])` instead
org.eclipse.cdt.utils.spawner.Spawner(String)
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677
org.eclipse.cdt.utils.spawner.Spawner(String, boolean)
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677
org.eclipse.cdt.utils.spawner.Spawner(String, String[])
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677
org.eclipse.cdt.utils.spawner.Spawner(String, String[], File)
Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677