Package com.e1c.g5.v8.dt.check.qfix
Interface IFixVariant<C extends IFixContext>
-
- All Known Implementing Classes:
SingleVariantBasicFix
,SingleVariantModelBasicFix
,SingleVariantXtextBslModuleFix
public interface IFixVariant<C extends IFixContext>
A single variant of a multi-variant fix. Contains variant-specific fixing logic as well as unique description of the variant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FixVariantDescriptor
describeChanges(C context, IFixSession session)
Gets the quick fix variant descriptorCollection<IFixChange>
prepareChanges(C context, IFixSession session)
Prepares the changes to form the fix
-
-
-
Method Detail
-
describeChanges
FixVariantDescriptor describeChanges(C context, IFixSession session)
Gets the quick fix variant descriptor- Parameters:
context
- the context, cannot benull
session
- the session, cannot benull
- Returns:
- fix variant descriptor, never
null
-
prepareChanges
Collection<IFixChange> prepareChanges(C context, IFixSession session)
Prepares the changes to form the fix- Parameters:
context
- The fix context. May not benull
- Returns:
- The collection of prepared fix changes (if applicable). Never
null
. May be empty
-
-