public abstract class UnwantedMethodCallsCheckBase extends EntityTokenCheckBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHECK_DESCRIPTION
A description for this check applicable to all extenders.
|
context
Constructor and Description |
---|
UnwantedMethodCallsCheckBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Set<java.lang.String> |
getUnwantedMethods()
Template method for obtaining the list of unwanted methods.
|
protected java.lang.String |
getXPathSelectionString()
Returns the xPath string for selecting entities.
|
protected void |
processTokens(java.util.List<IToken> tokens)
Process the start or end tokens for a selected entity.
|
processEntity
execute, filterEntities
createFinding, createFinding, createFinding, createFinding, createFinding, createFinding, createFinding, createFindingForSiblingEntities, createFindingForSiblings, createFindingOnFirstLine, createFindingOnUnfilteredCode, createFindingOnUnfilteredCode, createFindingOnUnfilteredCode, createInstance, createSelectionPattern, getCodeViewOption, initialize, isCpp, select, select, selectUnfilteredPreProcessed, setContext
public static final java.lang.String CHECK_DESCRIPTION
public UnwantedMethodCallsCheckBase()
protected abstract java.util.Set<java.lang.String> getUnwantedMethods()
protected void processTokens(java.util.List<IToken> tokens) throws CheckException
processTokens
in class EntityTokenCheckBase
CheckException
protected java.lang.String getXPathSelectionString()
getXPathSelectionString
in class EntityCheckBase