@@ -89,31 +89,31 @@ public static Text parseText(TextNode textNode, PlaceholderContext context) {
8989 }
9090
9191
92- @ Deprecated
92+ @ Deprecated ( forRemoval = true )
9393 public static ParentNode parseNodes (TextNode node , Pattern pattern ) {
9494 return parseNodes (node , pattern , PlaceholderContext .KEY );
9595 }
96- @ Deprecated
96+ @ Deprecated ( forRemoval = true )
9797 public static ParentNode parseNodes (TextNode node , Pattern pattern , ParserContext .Key <PlaceholderContext > contextKey ) {
9898 return asSingleParent (PatternPlaceholderParser .of (pattern , contextKey , DEFAULT_PLACEHOLDER_GETTER ).parseNodes (node ));
9999 }
100- @ Deprecated
100+ @ Deprecated ( forRemoval = true )
101101 public static ParentNode parseNodes (TextNode node , Pattern pattern , PlaceholderGetter placeholderGetter ) {
102102 return parseNodes (node , pattern , placeholderGetter , PlaceholderContext .KEY );
103103 }
104- @ Deprecated
104+ @ Deprecated ( forRemoval = true )
105105 public static ParentNode parseNodes (TextNode node , Pattern pattern , PlaceholderGetter placeholderGetter , ParserContext .Key <PlaceholderContext > contextKey ) {
106106 return asSingleParent (PatternPlaceholderParser .of (pattern , contextKey , placeholderGetter ).parseNodes (node ));
107107 }
108- @ Deprecated
108+ @ Deprecated ( forRemoval = true )
109109 public static ParentNode parseNodes (TextNode node , Pattern pattern , Map <String , Text > placeholders ) {
110110 return asSingleParent (PatternPlaceholderParser .ofTextMap (pattern , placeholders ).parseNodes (node ));
111111 }
112- @ Deprecated
112+ @ Deprecated ( forRemoval = true )
113113 public static ParentNode parseNodes (TextNode node , Pattern pattern , Set <String > placeholders , ParserContext .Key <PlaceholderGetter > key ) {
114114 return parseNodes (node , pattern , placeholders , key , PlaceholderContext .KEY );
115115 }
116- @ Deprecated
116+ @ Deprecated ( forRemoval = true )
117117 public static ParentNode parseNodes (TextNode node , Pattern pattern , Set <String > placeholders , ParserContext .Key <PlaceholderGetter > key , ParserContext .Key <PlaceholderContext > contextKey ) {
118118 return asSingleParent (PatternPlaceholderParser .of (pattern , contextKey , new PlaceholderGetter () {
119119 @ Override
@@ -133,43 +133,43 @@ public boolean isContextOptional() {
133133 }
134134 }).parseNodes (node ));
135135 }
136- @ Deprecated
136+ @ Deprecated ( forRemoval = true )
137137 public static Text parseText (Text text , PlaceholderContext context , Pattern pattern ) {
138138 return parseNodes (TextNode .convert (text ), pattern ).toText (ParserContext .of (PlaceholderContext .KEY , context ));
139139 }
140- @ Deprecated
140+ @ Deprecated ( forRemoval = true )
141141 public static Text parseText (Text text , PlaceholderContext context , Pattern pattern , PlaceholderGetter placeholderGetter ) {
142142 return parseNodes (TextNode .convert (text ), pattern , placeholderGetter ).toText (ParserContext .of (PlaceholderContext .KEY , context ));
143143 }
144- @ Deprecated
144+ @ Deprecated ( forRemoval = true )
145145 public static Text parseText (Text text , Pattern pattern , Map <String , Text > placeholders ) {
146146 return parseNodes (TextNode .convert (text ), pattern , placeholders ).toText (ParserContext .of ());
147147 }
148- @ Deprecated
148+ @ Deprecated ( forRemoval = true )
149149 public static Text parseText (Text text , Pattern pattern , Set <String > placeholders , ParserContext .Key <PlaceholderGetter > key ) {
150150 return parseNodes (TextNode .convert (text ), pattern , placeholders , key ).toText (ParserContext .of ());
151151 }
152152
153- @ Deprecated
153+ @ Deprecated ( forRemoval = true )
154154 public static Text parseText (TextNode textNode , PlaceholderContext context , Pattern pattern ) {
155155 return parseNodes (textNode , pattern ).toText (ParserContext .of (PlaceholderContext .KEY , context ));
156156 }
157157
158- @ Deprecated
158+ @ Deprecated ( forRemoval = true )
159159 public static Text parseText (TextNode textNode , PlaceholderContext context , Pattern pattern , PlaceholderGetter placeholderGetter ) {
160160 return parseNodes (textNode , pattern , placeholderGetter ).toText (ParserContext .of (PlaceholderContext .KEY , context ));
161161 }
162162
163- @ Deprecated
163+ @ Deprecated ( forRemoval = true )
164164 public static Text parseText (TextNode textNode , PlaceholderContext context , Pattern pattern , Map <String , Text > placeholders ) {
165165 return parseNodes (textNode , pattern , placeholders ).toText (ParserContext .of (PlaceholderContext .KEY , context ));
166166 }
167- @ Deprecated
167+ @ Deprecated ( forRemoval = true )
168168 public static Text parseText (TextNode textNode , Pattern pattern , Map <String , Text > placeholders ) {
169169 return parseNodes (textNode , pattern , placeholders ).toText ();
170170 }
171171
172- @ Deprecated
172+ @ Deprecated ( forRemoval = true )
173173 public static Text parseText (TextNode textNode , Pattern pattern , Set <String > placeholders , ParserContext .Key <PlaceholderGetter > key ) {
174174 return parseNodes (textNode , pattern , placeholders , key ).toText ();
175175 }
0 commit comments