public abstract class EntityCheckBase extends CheckImplementationBase
ECheckParameter.ABSTRACT_SYNTAX_TREE parameter.context| Constructor and Description | 
|---|
| EntityCheckBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute()Executes the custom check with the given context. | 
| protected java.util.List<ShallowEntity> | filterEntities(java.util.List<ShallowEntity> entities)Filters the selected entities. | 
| protected abstract java.lang.String | getXPathSelectionString()Returns the xPath string for selecting entities. | 
| protected abstract void | processEntity(ShallowEntity entity)Processes a single selected entity. | 
createFinding, createFinding, createFinding, createFinding, createFinding, createFinding, createFinding, createFindingForSiblingEntities, createFindingForSiblings, createFindingOnFirstLine, createFindingOnUnfilteredCode, createFindingOnUnfilteredCode, createFindingOnUnfilteredCode, createInstance, createSelectionPattern, getCodeViewOption, initialize, isCpp, select, select, selectUnfilteredPreProcessed, setContextpublic EntityCheckBase()
public void execute() throws CheckException
execute in class CheckImplementationBaseCheckExceptionprotected java.util.List<ShallowEntity> filterEntities(java.util.List<ShallowEntity> entities)
protected abstract java.lang.String getXPathSelectionString()
protected abstract void processEntity(ShallowEntity entity) throws CheckException
CheckException