public class LValueTypeClashCheck extends java.lang.Object implements LValueScopeDiscoverer, StructuredStatementTransformer
| Modifier and Type | Class and Description |
|---|---|
private static class |
LValueTypeClashCheck.Check |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.Integer> |
clashes |
| Constructor and Description |
|---|
LValueTypeClashCheck() |
public void processOp04Statement(Op04StructuredStatement statement)
processOp04Statement in interface LValueScopeDiscovererpublic void enterBlock(StructuredStatement structuredStatement)
enterBlock in interface LValueScopeDiscovererpublic void leaveBlock(StructuredStatement structuredStatement)
leaveBlock in interface LValueScopeDiscovererpublic void mark(StatementContainer<StructuredStatement> mark)
mark in interface LValueScopeDiscovererpublic boolean ifCanDefine()
ifCanDefine in interface LValueScopeDiscovererpublic void collect(StackSSALabel lValue, StatementContainer<StructuredStatement> statementContainer, Expression value)
collect in interface LValueAssignmentCollector<StructuredStatement>collect in interface LValueScopeDiscovererpublic void collectMultiUse(StackSSALabel lValue, StatementContainer<StructuredStatement> statementContainer, Expression value)
collectMultiUse in interface LValueAssignmentCollector<StructuredStatement>collectMultiUse in interface LValueScopeDiscovererpublic void collectMutatedLValue(LValue lValue, StatementContainer<StructuredStatement> statementContainer, Expression value)
collectMutatedLValue in interface LValueAssignmentCollector<StructuredStatement>collectMutatedLValue in interface LValueScopeDiscovererpublic void collectLocalVariableAssignment(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value)
collectLocalVariableAssignment in interface LValueAssignmentCollector<StructuredStatement>collectLocalVariableAssignment in interface LValueScopeDiscovererpublic void collect(LValue lValue, ReadWrite rw)
collect in interface LValueUsageCollectorcollect in interface LValueScopeDiscovererpublic void collectExpression(LValue lValue, Expression value)
public StructuredStatement transform(StructuredStatement in, StructuredScope scope)
transform in interface StructuredStatementTransformerpublic boolean descendLambdas()
descendLambdas in interface LValueScopeDiscovererpublic java.util.Set<java.lang.Integer> getClashes()