Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] deprecated ASTSignatureUtil

Title: deprecated ASTSignatureUtil
Thanks, I am about to fix the typo, it should read: Internally you can use ASTStringUtil.
 
I have deprecated the class because it is documented to be used for testing purposes, only. With that, it should
not have been API in the first place. ASTSignatureUtil will not go away, however using the class for something more
important than testing is probably not a good idea.
I don't plan to provide an alternative API for turning ast-nodes into strings.
 
Markus.


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ken.ryall@xxxxxxxxx
Sent: Monday, August 30, 2010 8:45 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] deprecated ASTSignatureUtil
Importance: Low

Markus,

You recently deprecated ASTSignatureUtil. ASTSignatureUtil.getSignature and ASTSignatureUtil.getExpressionString are called from a couple places in org.eclipse.cdt.debug.edc.symbols.TypeEngine so this change breaks the build of the org.eclipse.cdt.debug.edc plug-in. Can you suggest a replacement API?

The new comment reads “Within CDT it is recommended to use {@link ASTSignatureUtil}, instead” Is there another ASTSignatureUtil EDC should be using?

Thanks - Ken

Back to the top