[ClavaAst] Deprecates Type.HAS_SUGAR
@@ -54,6 +54,10 @@ public abstract class Type extends ClavaNode {
// remove it.
// .setDefault(null);
+ /**
+ * @deprecated the information of this variable is not reliable, use the method hasSugar() instead
+ */
+ @Deprecated
public final static DataKey<Boolean> HAS_SUGAR = KeyFactory.bool("hasSugar");
public final static DataKey<TypeDependency> TYPE_DEPENDENCY = KeyFactory.enumeration("typeDependency",
