@Nullable public static JetTypeInfo getRecordedTypeInfo( @NotNull JetExpression expression, @NotNull BindingContext context) { if (!context.get(BindingContext.PROCESSED, expression)) return null; DataFlowInfo dataFlowInfo = BindingContextUtilPackage.getDataFlowInfo(context, expression); JetType type = context.get(BindingContext.EXPRESSION_TYPE, expression); return JetTypeInfo.create(type, dataFlowInfo); }