Package com.e1c.g5.v8.dt.check.settings
Interface IBslElementRegionProvider
-
public interface IBslElementRegionProvider
Provides interface to storage with check IDs mapped to line ranges within the BSL module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IBslElementRegionProvider.BslSuppressionsCheckResult
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IBslElementRegionProvider.BslSuppressionsCheckResult
getResult(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Deprecated.Collection<String>
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 Detail
-
saveSuppressedRegion
@Deprecated void saveSuppressedRegion(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
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
void saveSuppressedRegion(int startLine, int endLine, Set<String> checkIds)
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 void saveAllowedRegion(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
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
boolean isSuppressed(org.eclipse.xtext.nodemodel.INode node, String checkId)
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
Collection<String> getSuppressedCheckIds(org.eclipse.xtext.nodemodel.INode node)
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
-
-