Interface BuilderModifier<A extends Annotation,C>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@API(status=STABLE) @FunctionalInterface public interface BuilderModifier<A extends Annotation,C>
  • Method Details

    • modifyBuilder

      @NonNull Command.Builder<? extends C> modifyBuilder(@NonNull A annotation, @NonNull Command.Builder<C> builder)
      Modifies the command builder and returns the updated builder.
      Parameters:
      annotation - the annotation instance
      builder - the existing builder
      Returns:
      the updated builder