delete get/setResultingDataFlowInfo

This commit is contained in:
Alexander Udalov
2012-06-14 18:49:46 +04:00
parent d377a7c070
commit 650cc4ce40
2 changed files with 0 additions and 17 deletions
@@ -31,11 +31,6 @@ import org.jetbrains.jet.lang.types.JetType;
*/
/*package*/ interface ExpressionTypingInternals extends ExpressionTypingFacade {
void setResultingDataFlowInfo(@NotNull DataFlowInfo dataFlowInfo);
@Nullable
DataFlowInfo getResultingDataFlowInfo();
@Nullable
JetType getSelectorReturnType(@NotNull ReceiverDescriptor receiver, @Nullable ASTNode callOperationNode, @NotNull JetExpression selectorExpression, @NotNull ExpressionTypingContext context);
@@ -57,7 +57,6 @@ public class ExpressionTypingVisitorDispatcher extends JetVisitor<JetTypeInfo, E
private final ClosureExpressionsTypingVisitor closures = new ClosureExpressionsTypingVisitor(this);
private final ControlStructureTypingVisitor controlStructures = new ControlStructureTypingVisitor(this);
private final PatternMatchingTypingVisitor patterns = new PatternMatchingTypingVisitor(this);
protected DataFlowInfo resultDataFlowInfo;
private ExpressionTypingVisitorDispatcher(WritableScope writableScope) {
this.basic = new BasicExpressionTypingVisitor(this);
@@ -69,12 +68,6 @@ public class ExpressionTypingVisitorDispatcher extends JetVisitor<JetTypeInfo, E
}
}
@Override
@Nullable
public DataFlowInfo getResultingDataFlowInfo() {
return resultDataFlowInfo;
}
@Override
public JetType getSelectorReturnType(@NotNull ReceiverDescriptor receiver, @Nullable ASTNode callOperationNode, @NotNull JetExpression selectorExpression, @NotNull ExpressionTypingContext context) {
return basic.getSelectorReturnType(receiver, callOperationNode, selectorExpression, context);
@@ -85,11 +78,6 @@ public class ExpressionTypingVisitorDispatcher extends JetVisitor<JetTypeInfo, E
return basic.checkInExpression(callElement, operationSign, left, right, context);
}
@Override
public void setResultingDataFlowInfo(@NotNull DataFlowInfo dataFlowInfo) {
this.resultDataFlowInfo = dataFlowInfo;
}
@Override
@NotNull
public final JetTypeInfo safeGetTypeInfo(@NotNull JetExpression expression, ExpressionTypingContext context) {