From 6c23547fc76b4152730f7731097e7b2350b5df3c Mon Sep 17 00:00:00 2001 From: Suby S Surendran Date: Tue, 12 Nov 2024 15:08:21 +0530 Subject: [PATCH] Added the Deprecated property in the JavaDoc --- .../dom/org/eclipse/jdt/core/dom/TypePattern.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypePattern.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypePattern.java index 6ff865a6004..009bccc5c3c 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypePattern.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypePattern.java @@ -224,7 +224,7 @@ public void setPatternVariable(VariableDeclaration patternVariable) { * @return the pattern variable * @exception UnsupportedOperationException if this operation is used other than JLS19 * @exception UnsupportedOperationException if this expression is used with previewEnabled flag as false - * @deprecated In the JLS22 API, this method is replaced by getPatternVariable2() + * @Deprecated(forRemoval = true, since="2024-07") In the JLS22 API, this method is replaced by getPatternVariable2() * @since 3.38 */ public SingleVariableDeclaration getPatternVariable() {