public class OperationsAnalyzer
extends java.lang.Object
| Constructor and Description |
|---|
OperationsAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
LeftOperandIndexes |
calculateIndexes(int indexOfCurrentOperation,
java.util.List<SOperation> operations)
Calculates the next and the last indexes where the left operand located at the given index is used
|
int |
findBusinessDataDependencyIndex(java.lang.String businessDataName,
int fromIndex,
java.util.List<SOperation> operations)
Finds the index of operation of type
SLeftOperand.TYPE_BUSINESS_DATA that references the expression of
type
ExpressionType.TYPE_BUSINESS_DATA with given name directly on the right operand or in transitive
dependencies. |
public int findBusinessDataDependencyIndex(java.lang.String businessDataName,
int fromIndex,
java.util.List<SOperation> operations)
SLeftOperand.TYPE_BUSINESS_DATA that references the expression of
type
ExpressionType.TYPE_BUSINESS_DATA with given name directly on the right operand or in transitive
dependencies.businessDataName - the expression contentfromIndex - index of operation from which the analyse must beginsoperations - list of operations @return the index of operation that references the expression with given
name and type.public LeftOperandIndexes calculateIndexes(int indexOfCurrentOperation, java.util.List<SOperation> operations)
indexOfCurrentOperation - index of current operationoperations - all operations