Package com.e1c.g5.v8.dt.bsl.check.qfix
Class MultiVariantXtextBslModuleFix.VariantBuilder
- java.lang.Object
-
- com.e1c.g5.v8.dt.bsl.check.qfix.MultiVariantXtextBslModuleFix.VariantBuilder
-
- Enclosing class:
- MultiVariantXtextBslModuleFix
protected static class MultiVariantXtextBslModuleFix.VariantBuilder extends Object
Provides a builder of the quick fix variant
-
-
Constructor Summary
Constructors Constructor Description VariantBuilder(MultiVariantXtextBslModuleFix fix)
Creates variant builder instance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build()
Finalizes the variant builder, registers the variantMultiVariantXtextBslModuleFix.VariantBuilder
change(VariantXtextBslModuleFixChangeDelegate delegate)
Creates code change delegatestatic MultiVariantXtextBslModuleFix.VariantBuilder
create(MultiVariantXtextBslModuleFix fix)
Static variant builder creatorMultiVariantXtextBslModuleFix.VariantBuilder
description(String description, String details)
Creates variant description and details messages
-
-
-
Constructor Detail
-
VariantBuilder
public VariantBuilder(MultiVariantXtextBslModuleFix fix)
Creates variant builder instance- Parameters:
fix
- the reference to the model fix, cannot benull
-
-
Method Detail
-
create
public static MultiVariantXtextBslModuleFix.VariantBuilder create(MultiVariantXtextBslModuleFix fix)
Static variant builder creator- Parameters:
fix
- the reference to the model fix, cannot benull
- Returns:
- the instance of the variant builder, never
null
-
change
public MultiVariantXtextBslModuleFix.VariantBuilder change(VariantXtextBslModuleFixChangeDelegate delegate)
Creates code change delegate- Parameters:
delegate
- change delegate, cannot benull
- Returns:
- the instance of the variant builder, never
null
-
description
public MultiVariantXtextBslModuleFix.VariantBuilder description(String description, String details)
Creates variant description and details messages- Parameters:
description
- the short description, cannot benull
details
- the detailed message, can benull
- Returns:
- the instance of the variant builder, never
null
-
build
public void build()
Finalizes the variant builder, registers the variant
-
-