public class DefaultXmlSuppressionProvider extends XmlSuppressionProvider implements InspectionSuppressor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SUPPRESS_MARK |
EP_NAME| Constructor and Description |
|---|
DefaultXmlSuppressionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected PsiElement |
findFileSuppression(PsiElement anchor,
java.lang.String id,
PsiElement originalElement) |
protected PsiElement |
findSuppression(PsiElement anchor,
java.lang.String id,
PsiElement originalElement) |
protected PsiElement |
findSuppressionLeaf(PsiElement leaf,
java.lang.String id,
int offset) |
protected java.lang.String |
getPrefix() |
protected java.lang.String |
getSuffix() |
protected java.lang.String |
getSuppressionText(java.lang.String inspectionId,
java.lang.String originalText) |
boolean |
isProviderAvailable(PsiFile file) |
boolean |
isSuppressedFor(PsiElement element,
java.lang.String inspectionId) |
protected void |
suppress(PsiFile file,
PsiElement suppressionElement,
java.lang.String inspectionId,
int offset) |
void |
suppressForFile(PsiElement element,
java.lang.String inspectionId) |
void |
suppressForTag(PsiElement element,
java.lang.String inspectionId) |
getSuppressActions, isSuppressedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSuppressActionspublic static final java.lang.String SUPPRESS_MARK
public boolean isProviderAvailable(PsiFile file)
isProviderAvailable in class XmlSuppressionProviderpublic boolean isSuppressedFor(PsiElement element, java.lang.String inspectionId)
isSuppressedFor in interface InspectionSuppressorisSuppressedFor in class XmlSuppressionProviderCustomSuppressableInspectionTool.isSuppressedFor(PsiElement)public void suppressForFile(PsiElement element, java.lang.String inspectionId)
suppressForFile in class XmlSuppressionProviderpublic void suppressForTag(PsiElement element, java.lang.String inspectionId)
suppressForTag in class XmlSuppressionProviderprotected PsiElement findSuppression(PsiElement anchor, java.lang.String id, PsiElement originalElement)
protected PsiElement findFileSuppression(PsiElement anchor, java.lang.String id, PsiElement originalElement)
protected PsiElement findSuppressionLeaf(PsiElement leaf, java.lang.String id, int offset)
protected void suppress(PsiFile file, PsiElement suppressionElement, java.lang.String inspectionId, int offset)
protected java.lang.String getSuppressionText(java.lang.String inspectionId,
java.lang.String originalText)
protected java.lang.String getPrefix()
protected java.lang.String getSuffix()