public abstract class EntityTokenSequenceFindingCheckBase extends EntityTokenCheckBase
context| Constructor and Description |
|---|
EntityTokenSequenceFindingCheckBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
getFindingMessage(java.util.List<IToken> tokens,
int matchStart,
int matchEnd)
Returns a finding message for the given token type sequence.
|
protected abstract ETokenType[] |
getFindingSequence()
Returns the token type sequence for which findings should be created.
|
protected void |
processTokens(java.util.List<IToken> tokens)
Process the start or end tokens for a selected entity.
|
processEntityexecute, filterEntities, getXPathSelectionStringcreateFinding, createFinding, createFinding, createFinding, createFinding, createFinding, createFinding, createFindingForSiblingEntities, createFindingForSiblings, createFindingOnFirstLine, createFindingOnUnfilteredCode, createFindingOnUnfilteredCode, createFindingOnUnfilteredCode, createInstance, createSelectionPattern, getCodeViewOption, initialize, isCpp, select, select, selectUnfilteredPreProcessed, setContextpublic EntityTokenSequenceFindingCheckBase()
protected void processTokens(java.util.List<IToken> tokens) throws CheckException
processTokens in class EntityTokenCheckBaseCheckExceptionprotected abstract ETokenType[] getFindingSequence()
protected abstract java.lang.String getFindingMessage(java.util.List<IToken> tokens, int matchStart, int matchEnd)