Class MultiVariantModelBasicFix.VariantBuilder

  • Enclosing class:
    MultiVariantModelBasicFix

    protected static class MultiVariantModelBasicFix.VariantBuilder
    extends Object
    Provides a builder of the quick fix variant
    • Constructor Detail

      • VariantBuilder

        public VariantBuilder​(MultiVariantModelBasicFix fix)
        Creates variant builder instance
        Parameters:
        fix - the reference to the model fix, cannot be null
    • Method Detail

      • description

        public MultiVariantModelBasicFix.VariantBuilder description​(String description,
                                                                    String details)
        Creates variant description and details messages
        Parameters:
        description - the short description, cannot be null
        details - the detailed message, can be null
        Returns:
        the instance of the variant builder, never null
      • build

        public void build()
        Finalizes the variant builder, registers the variant