Package com._1c.g5.v8.dt.bsl.validation
Class BslSuppressionProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.validation.BslSuppressionProvider
-
public class BslSuppressionProvider extends Object
Collect all suppression ranges from Built-in language module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BslSuppressionProvider.BslSuppressionRange
Suppression range in Built-in languageModule
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT_SUPPRESS_KEY
Special key for getting suppress ranges from context validation map, seeAbstractDeclarativeValidator.getContext()
and {@link com._1c.g5.v8.dt.bsl.validation.IBslValidationContributor.validate(EObject, DiagnosticChain, Mapstatic String
SUPPRESS_ALL_ID
Special check id says that should skip all errors and warnings
-
Constructor Summary
Constructors Constructor Description BslSuppressionProvider(BslGrammarAccess grammarAccess)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Collection<BslSuppressionProvider.BslSuppressionRange>>
computeSuppressionRanges(Module module)
Computes all suppression ranges forModule
-
-
-
Field Detail
-
CONTEXT_SUPPRESS_KEY
public static final String CONTEXT_SUPPRESS_KEY
Special key for getting suppress ranges from context validation map, seeAbstractDeclarativeValidator.getContext()
and {@link com._1c.g5.v8.dt.bsl.validation.IBslValidationContributor.validate(EObject, DiagnosticChain, Map- See Also:
- Constant Field Values
-
SUPPRESS_ALL_ID
public static final String SUPPRESS_ALL_ID
Special check id says that should skip all errors and warnings- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BslSuppressionProvider
@Inject public BslSuppressionProvider(BslGrammarAccess grammarAccess)
Constructor- Parameters:
grammarAccess
- actualAbstractElementFinder.AbstractGrammarElementFinder
for Built-in language, cannot benull
-
-
Method Detail
-
computeSuppressionRanges
public Map<String,Collection<BslSuppressionProvider.BslSuppressionRange>> computeSuppressionRanges(Module module)
Computes all suppression ranges forModule
- Parameters:
module
- Built-in language module, cannot benull
- Returns:
- suppression ranges by issue validation id, never
null
-
-