Deprecated API
Contents
-
ElementDescriptionThis method was never used in CDT.Since CDT 4.0 replaced by
ScannerInfoProviderProxy
. Still used as a default for projects created by earlier CDT versions.
-
InterfaceDescriptionnot used anywhereuse
IWorkingCopyProvider
, instead.UseICPPASTFunctionWithTryBlock
, instead.Unified withICPPASTSimpleTypeConstructorExpression
.useICPPDeferredClassInstance
instead.Everything can be expressed asICASTSimpleDeclSpecifier
.Replaced byIASTDeclSpecifier
.Replaced byICPPASTExplicitTemplateInstantiation
UseIASTPointer
, instead.UseICPPASTPointerToMember
, instead.Replaced byICPPASTSimpleDeclSpecifier
.useICPPBasicType
, instead.UseICPPPointerToMemberType
, instead.UseIPointerType
, instead.Use IGCCASTAttributeList instead.UseIASTTypeIdExpression
, instead.Replaced byIASTUnaryExpression
.Replaced byIASTEqualsInitializer
.Use IASTMacroExpansionLocation insteadUse methods provided byITranslationUnit
orILanguage
.replaced byIncludeFileContentProvider
Used only by other deprecated interfacesas this API is not configuration aware. Replaced byICConfigurationDescription
which can be fetched withICProjectDescription.getConfigurations()
registerICProjectDescriptionListener
forCProjectDescriptionEvent
replace withICProjectDescriptionManager
&ICProjectDescription
replaced withICConfigExtensionReference
obtained from anICConfigurationDescription
Do not use.
-
ClassDescriptionnot used anywhere.register
ICProjectDescriptionListener
forCProjectDescriptionEvent
The class is provided for testing purposes, only. It should not be used by clients. Within CDT it is recommended to useASTStringUtil
, instead.you can useASTVisitor
, instead.you can useASTVisitor
, instead.This class does not take into account language mappings. UseILanguage
instead.Use org.eclipse.cdt.ui.CElementLabelProvider instead. Internally you can also use org.eclipse.cdt.internal.ui.viewsupport.CElementLabels.replaced byFileContent
Since CDT 4.0 not used for the "new style" projects.Since CDT 4.0 replaced byScannerInfoProviderProxy
. Still used as a default for projects created by earlier CDT versions.Since CDT 9.0. Use correspondingCDataUtil
methods instead.Provide your own messages.This class is slated for removal, it is not used by the CDT classes
-
FieldDescriptionReplaced by
IASTSimpleDeclSpecifier.t_bool
.Use the type-safe version getKind(), instead.UseICPPASTConstructorInitializer.ARGUMENT
instead.Not used.All constants must be defined inIASTLiteralExpression
.the id-expressions are part of the type-id.Replaced byICPPASTSimpleTypeConstructorExpression.INITIALIZER
.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Use IASTNode.EMPTY_NODE_ARRAY instead.Don't use the constant, more flags may be added for supporting future c++ standards.Use the type-safe version getKind(), instead.Use the type-safe version getKind(), instead.Replaced byIASTSimpleDeclSpecifier.DECLTYPE_EXPRESSION
.This was meant for internal use only.This was meant for internal use only.Replaced byIASTSimpleDeclSpecifier.DECLTYPE_EXPRESSION
.don't use this constant.Not used.Not used.useIASTLabelStatement.EMPTY_ARRAY
insteadnames for macro expansions are nested inside ofIASTPreprocessorMacroExpansion
.Shall not be used, 'typeof something' is not an expression, it's a declaration specifier.Use the type-safe version getKind(), instead.Use the type-safe version getKind(), instead.Use the type-safe version getKind(), instead.Use the type-safe version getKind(), instead.Use the type-safe version getKind(), instead.Use the type-safe version getKind(), instead.useILabel.EMPTY_ARRAY
insteadThere may be additional problems.The full indexer has been removed.since CDT 4.0.Use #K_TRANSLATION_UNITExtension fragments are now used depending on their configuration. Use one of the ADD_EXTENSION_XX flags instead.- no longer used, such deltas are now notified during POST_CHANGEnot used anymoreHas no effect.Has no effect.The option has no effect.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.Not used.UseIToken.tAND
. @noreference This field is not intended to be referenced by clients.UseIToken.tAMPERASSIGN
. @noreference This field is not intended to be referenced by clients.UseIToken.tAMPER
. @noreference This field is not intended to be referenced by clients.UseIToken.tBITOR
. @noreference This field is not intended to be referenced by clients.UseIToken.tBITCOMPLEMENT
. @noreference This field is not intended to be referenced by clients.UseIToken.tNOT
. @noreference This field is not intended to be referenced by clients.UseIToken.tNOTEQUAL
@noreference This field is not intended to be referenced by clients.UseIToken.tOR
@noreference This field is not intended to be referenced by clients.UseIToken.tBITORASSIGN
. @noreference This field is not intended to be referenced by clients.UseIToken.tXOR
. @noreference This field is not intended to be referenced by clients.UseIToken.tXORASSIGN
. @noreference This field is not intended to be referenced by clients.Not used. @noreference This field is not intended to be referenced by clients.Not used. @noreference This field is not intended to be referenced by clients.UseIToken.tBITCOMPLEMENT
. @noreference This field is not intended to be referenced by clients.Not used. @noreference This field is not intended to be referenced by clients.Don't depend on this implementation detail. @noreference This field is not intended to be referenced by clients.Use ICDescriptionDelta.SOURCE_EXTENSIONS @noreference This field is not intended to be referenced by clients.
-
MethodDescriptionUse
AbstractCExtension.getConfigExtensionReference()
instead.never worked.org.eclipse.cdt.core.browser.AllTypesCache.getTypes(ICProject, IQualifiedTypeName, boolean, boolean) never worked.This method was never used in CDT.clients really need to pick which toolchain they want a build config for. This method pretty much picks one at random.the version doesn't matter. id's for a given type must be unique.version is now irrelevant. id's are unique.we no longer organize toolchains by provider id.toolchains no longer have multiple versions per idproviders do not manage toolchains, call IToolManager.getToolChain() instead.Notice that the identifier is not being checked against language keywords. Use validateIdentifier(String id, AbstractCLikeLanguage language) instead.since CDT 6.1. UseErrorParserManager.getErrorParserAvailableIds()
instead- use getBinaryParserExtensions(IProject project)Settings should be set per ICConfigurationDescription rather than global to the project. Please useCCorePlugin.getProjectDescription(IProject, boolean)
to fetch the ICProjectDescription for the project. And useICProjectDescription.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.useITranslationUnit
orILanguage
to construct ASTs, instead.since CDT 6.1. UseErrorParserManager.getErrorParserCopy(String)
insteaduse getIndexManager().This method is no longer used and is scheduled for removal in 10.0.don't use it does something strangeThis method is no longer used and is scheduled for removal in 10.0.Replaced byICASTDesignatedInitializer.getOperand()
;Replaced by setOperand();Replaced byICNodeFactory.newSimpleDeclSpecifier()
Use getNameSpecifier() instead.Use setNameSpecifier() instead.Use setVirtSpecifier() instead.Replaced byICPPASTConstructorChainInitializer.getInitializer()
.Replaced byICPPASTConstructorInitializer.getArguments()
.Use setScopeToken instead IfisScoped == true
is passed, theScopeToken.CLASS
scope token is assumed.UseICPPASTFunctionDefinition.getMemberInitializers()
, instead.the id-expressions are part of the type-idReplaced byICPPASTNewExpression.getInitializer()
Replaced byICPPASTNewExpression.getPlacementArguments()
the id-expressions are part of the type-id.useIBasicType.getModifiers()
, instead.UseICPPClassType.getAllDeclaredMethods()
instead.UseICPPClassType.getBases()
instead.UseICPPClassType.getConstructors()
instead.UseICPPClassType.getDeclaredFields()
instead.UseICPPClassType.getDeclaredMethods()
instead.UseICPPClassType.getFields()
instead.UseICPPClassType.getFriends()
instead.UseICPPClassType.getMethods()
instead.UseICPPClassType.getNestedClasses()
instead.UseICPPClassType.getUsingDeclarations()
instead.UseICPPClassSpecialization.specializeMember(IBinding)
instead.useICPPConstructor.getConstructorChainExecution()
instead.function types don't relate to this pointers at all.UseICPPFunction.getExceptionSpecification()
instead.Use newAttributeList() instead.UsenewEnumerationSpecifier(ScopeToken, IASTName, ICPPASTDeclSpecifier)
instead. IfisScoped == true
is passedScopeToken.CLASS
is assumed.Replaced byICPPNodeFactory.newQualifiedName(ICPPASTName)
.Replaced byICPPNodeFactory.newReferenceOperator(boolean)
.Since 5.4 not called by the framework. OverrideGCCLanguage.getScannerExtensionConfiguration(IScannerInfo)
instead.Replaced byIASTSimpleDeclSpecifier.getDeclTypeExpression()
.Since 5.4 not called by the framework. OverrideGPPLanguage.getScannerExtensionConfiguration(IScannerInfo)
instead.Replaced byIASTSimpleDeclSpecifier.getDeclTypeExpression()
.don't use this method.Replaced byIArrayType.getSize()
.Replaced byIASTArraySubscriptExpression.getArgument()
Ignored. Attributes should not be assigned to nodes directly, but have to be wrapped by attribute specifiers.Use IASTAttributeList.addAttribute() instead.Use IASTAttributeList.getAttributes() instead.Use ICASTDeclSpecifier.getAlignmentSpecifiers() for C code. In C++ code, alignment specifiers are now stored in the attribute specifier sequence.Use ICASTDeclSpecifier.setAlignmentSpecifiers() for C code. In C++ code, alignment specifiers are now stored in the attribute specifier sequence.Replaced byIASTInitializerList.addClause(IASTInitializerClause)
.Replaced byIASTInitializerList.getClauses()
.Replaced byIASTLiteralExpression.setValue(char[])
.UseIASTTranslationUnit.getLinkage()
insteaduseIASTTranslationUnit.getNodeSelector(String)
, instead.Use the type-safe version getKind(), instead.Types don't have values.Use newGCCAttributeList() instead.UseIScope.getBindings(ScopeLookupData)
insteadUseIScope.getBindings(ScopeLookupData)
insteadReturns an empty character array.Returns an empty array.Use numberValue() instead.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. UseIName.getSimpleID()
, instead.Do not override this method. OverrideAbstractCLikeLanguage.getScannerExtensionConfiguration(IScannerInfo)
instead.org.eclipse.cdt.core.dom.parser.cpp.ICPPParserExtensionConfiguration.supportGCCOtherBuiltinSymbols()configure extra keywords, viaIScannerExtensionConfiguration.getAdditionalKeywords()
simply derive from this class and useAbstractScannerExtensionConfiguration.addKeyword(char[], int)
to add additional keywords.simply derive from this class and useAbstractScannerExtensionConfiguration.addMacro(String, String)
to add additional macros.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=215789Use IErrorParser2 interface to handle multiline messages rather than scratch buffer.Use IErrorParser2 interface to handle multiline messages rather than scratch buffer.UseErrorParserManager.findFileName(java.lang.String)
for searches.UseErrorParserManager.findFileName(java.lang.String)
for searches.Use IErrorParser2 interface to handle multiline messages rather than scratch buffer.useErrorParserManager.getWorkingDirectoryURI()
insteadThe semantics of this function is inconsistent. As far as build is concerned there is no difference between errorsIMarkerGenerator.SEVERITY_ERROR_RESOURCE
andIMarkerGenerator.SEVERITY_ERROR_BUILD
UseErrorParserManager.findFileName(java.lang.String)
for searches.useErrorParserManager.popDirectoryURI()
insteadas of 5.2. This method is no longer reporting problems. The problem markers are generated after processing each line.UseICExtension.getConfigExtensionReference()
instead.Use public void addMarker(org.eclipse.cdt.core.ProblemMarkerInfo problem) instead.Returns 0.Returns 0.This method is unused in CDT code base. UseISourceFinder.toLocalPath(String)
or request undeprecating on the cdt-dev mailing list.Useless method that always returns "enum".replaced byIASTTranslationUnit.getNodeSelector(String)
.use isUnion(), isClass(), isStruct()useITranslationUnit.findSharedWorkingCopy()
, or CDTUITools.getWorkingCopyManager() instead.UseFileContent.create(ITranslationUnit)
, instead.useITranslationUnit.getSharedWorkingCopy(IProgressMonitor, IProblemRequestor)
, or CDTUITools.getWorkingCopyManager() instead.useITranslationUnit.getSharedWorkingCopy(IProgressMonitor, IProblemRequestor)
, or CDTUITools.getWorkingCopyManager() instead.useITranslationUnit.getWorkingCopy(IProgressMonitor)
, or CDTUITools.getWorkingCopyManager() instead.don't use this method.use getRegisteredContentTypes() instead.Provided to achieve backwards compatibility.Has no effect.UseArrayUtil.appendAt(Class, Object[], int, Object)
instead.UseCharTable.keys()
instead.Deprecated as of CDT 8.1. This method returns settings supplied by MBS only.UseCdtVariableResolver.resolveToString(java.lang.String, org.eclipse.cdt.utils.cdtvariables.IVariableSubstitutor)
which would do full nested expansion.UsePathUtil.equalPath(IPath, IPath)
instead.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677
-
ConstructorDescriptionDo not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677