public class ConditionalBlockGroupExtractor extends java.lang.Object
| Constructor and Description |
|---|
ConditionalBlockGroupExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ConditionalBlockGroupBase> |
findCorrespondingBlockGroups(java.util.List<ShallowEntity> entities)
Recursively checks the given entities and their children for corresponding
statements in conditional expressions.
|
static java.util.List<ConditionalBlockGroupBase> |
findCorrespondingBlockGroups(ShallowEntity entity)
Recursively checks the entity and its children for corresponding statements
in conditional expressions.
|
public ConditionalBlockGroupExtractor()
public static java.util.List<ConditionalBlockGroupBase> findCorrespondingBlockGroups(ShallowEntity entity) throws CheckException
ConditionalBlockGroupBase in the Document.entity - the entity whose children are checked for if/else/else if or
switch/case statementsCheckExceptionpublic static java.util.List<ConditionalBlockGroupBase> findCorrespondingBlockGroups(java.util.List<ShallowEntity> entities) throws CheckException
entities - the entities whose children are checked for if/else/else if or
switch/case statementsCheckException