@@ -271,7 +271,9 @@ public boolean has(final @NotNull String name) {
271271 * @throws ParsingException if the provided arguments are invalid
272272 * @since 4.10.0
273273 */
274- @ Nullable Tag resolve (@ TagPattern final @ NotNull String name , final @ NotNull ArgumentQueue arguments , final @ NotNull Context ctx ) throws ParsingException ;
274+ default @ Nullable Tag resolve (@ TagPattern final @ NotNull String name , final @ NotNull ArgumentQueue arguments , final @ NotNull Context ctx ) throws ParsingException {
275+ return null ;
276+ }
275277
276278 /**
277279 * Gets a tag with named arguments from this resolver based on the current state.
@@ -283,7 +285,9 @@ public boolean has(final @NotNull String name) {
283285 * @throws ParsingException if the provided arguments are invalid
284286 * @since 4.25.0
285287 */
286- @ Nullable Tag resolveNamed (@ TagPattern final @ NotNull String name , final @ NotNull NamedArgumentMap arguments , final @ NotNull Context ctx ) throws ParsingException ;
288+ default @ Nullable Tag resolveNamed (@ TagPattern final @ NotNull String name , final @ NotNull NamedArgumentMap arguments , final @ NotNull Context ctx ) throws ParsingException {
289+ return null ;
290+ }
287291
288292 /**
289293 * Get whether this resolver handles tags with a certain name.
@@ -381,9 +385,7 @@ default boolean has(final @NotNull String name) {
381385 */
382386 interface Sequential extends TagResolver {
383387 @ Override
384- default @ Nullable Tag resolveNamed (final @ NotNull String name , final @ NotNull NamedArgumentMap arguments , final @ NotNull Context ctx ) throws ParsingException {
385- return null ;
386- }
388+ @ Nullable Tag resolve (final @ NotNull String name , final @ NotNull ArgumentQueue arguments , final @ NotNull Context ctx ) throws ParsingException ;
387389 }
388390
389391 /**
@@ -393,9 +395,7 @@ interface Sequential extends TagResolver {
393395 */
394396 interface Named extends TagResolver {
395397 @ Override
396- default @ Nullable Tag resolve (final @ NotNull String name , final @ NotNull ArgumentQueue arguments , final @ NotNull Context ctx ) throws ParsingException {
397- return null ;
398- }
398+ @ Nullable Tag resolveNamed (final @ NotNull String name , final @ NotNull NamedArgumentMap arguments , final @ NotNull Context ctx ) throws ParsingException ;
399399 }
400400
401401 /**
0 commit comments