Package com.e1c.g5.v8.dt.check.settings
Interface IBslElementRegionProvider
- All Known Implementing Classes:
BslElementRegionProvider
public interface IBslElementRegionProvider
Provides interface to storage with check IDs mapped to line ranges within the BSL module.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getSuppressedCheckIds
(org.eclipse.xtext.nodemodel.INode node) Gets all check suppressions applicable to the given syntax model node.boolean
isSuppressed
(org.eclipse.xtext.nodemodel.INode node, String checkId) Requests the check suppression status for the given checkvoid
saveAllowedRegion
(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds) Deprecated.void
saveSuppressedRegion
(int startLine, int endLine, Set<String> checkIds) Saves suppressed checks with mapped line ranges to the storage.void
saveSuppressedRegion
(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds) Deprecated.
-
Method Details
-
saveSuppressedRegion
Deprecated.Saves suppressed checks with mapped line ranges to the storage. Rewrites line ranges for existing ids if the existing mapped range is a subset of a new range.- Parameters:
node
- the node of the semantic element, cannot benull
checkIds
- the set of check ids to map and save to the storage, cannot benull
-
saveSuppressedRegion
Saves suppressed checks with mapped line ranges to the storage. Rewrites line ranges for existing ids if the existing mapped range is a subset of a new range.- Parameters:
startLine
- The start line of the regionendLine
- The end line of the regioncheckIds
- the set of check ids to map and save to the storage, cannot benull
-
saveAllowedRegion
Deprecated.Saves allowed checks with mapped line ranges to the storage.- Parameters:
node
- the node of the semantic element, cannot benull
checkIds
- the set of check ids to map and save to the storage, cannot benull
-
getResult
@Deprecated IBslElementRegionProvider.BslSuppressionsCheckResult getResult(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds) Deprecated.Processes storage and provides result which is pair of check id sets:- live (or not suppressed) check ids
- not processed check ids
- Parameters:
node
- the node of the semantic element, cannot benull
checkIds
- the check ids to examine, cannot benull
- Returns:
IBslElementRegionProvider.BslSuppressionsCheckResult
, nevernull
-
isSuppressed
Requests the check suppression status for the given check- Parameters:
node
- The target syntax model node. May not benull
checkId
- the check id to examine, cannot benull
- Returns:
- True if the given check is suppressed
-
getSuppressedCheckIds
Gets all check suppressions applicable to the given syntax model node.- Parameters:
node
- The target syntax model node. May not benull
- Returns:
- The collection of check ids. May not be
null
. May be empty
-