@Test public void testNullInclude() throws Exception { new InterpretingVisitor().visit(archive(new URL("https: 192L, null, null, new String[0], new Expression[0], new CxxLanguageFeatures[0])); }
@Nullable public Object visit(@Nullable Expression expr) { if (expr == null) { return null; } if (expr.getClass().equals(FunctionTableExpression.class)) { return visitFunctionTableExpression((FunctionTableExpression) expr); } if (expr.getClass().equals(FindModuleExpression.class)) { return visitFindModuleExpression((FindModuleExpression) expr); } if (expr.getClass().equals(ParameterExpression.class)) { return visitParameterExpression((ParameterExpression) expr); } if (expr.getClass().equals(IfSwitchExpression.class)) { return visitIfSwitchExpression((IfSwitchExpression) expr); } if (expr.getClass().equals(ConstantExpression.class)) { return visitValueExpression((ConstantExpression) expr); } if (expr.getClass().equals(AssignmentExpression.class)) { return visitAssignmentExpression((AssignmentExpression) expr); } if (expr.getClass().equals(InvokeFunctionExpression.class)) { return visitInvokeFunctionExpression((InvokeFunctionExpression) expr); } if (expr.getClass().equals(ModuleExpression.class)) { return visitModuleExpression((ModuleExpression) expr); } if (expr.getClass().equals(AbortExpression.class)) { return visitAbortExpression((AbortExpression) expr); } if (expr.getClass().equals(ExampleExpression.class)) { return visitExampleExpression((ExampleExpression) expr); } if (expr.getClass().equals(ExternalFunctionExpression.class)) { return visitExternalFunctionExpression((ExternalFunctionExpression) expr); } if (expr.getClass().equals(ArrayExpression.class)) { return visitArrayExpression((ArrayExpression) expr); } if (expr.getClass().equals(AssignmentBlockExpression.class)) { return visitAssignmentBlockExpression((AssignmentBlockExpression) expr); } if (expr.getClass().equals(AssignmentReferenceExpression.class)) { return visitAssignmentReferenceExpression((AssignmentReferenceExpression) expr); } if (expr.getClass().equals(ModuleArchiveExpression.class)) { return visitModuleArchiveExpression((ModuleArchiveExpression) expr); } if (expr.getClass().equals(MultiStatementExpression.class)) { return visitMultiStatementExpression((MultiStatementExpression) expr); } if (expr.getClass().equals(NopExpression.class)) { return visitNopExpression((NopExpression) expr); } if (expr.getClass().equals(GlobalBuildEnvironmentExpression.class)) { return visitGlobalBuildEnvironmentExpression((GlobalBuildEnvironmentExpression) expr); } throw new RuntimeException("intr" + expr.getClass().toString()); }
InterpretingVisitor { @Nullable public Object visit(@Nullable Expression expr) { if (expr == null) { return null; } if (expr.getClass().equals(FunctionTableExpression.class)) { return visitFunctionTableExpression((FunctionTableExpression) expr); } if (expr.getClass().equals(FindModuleExpression.class)) { return visitFindModuleExpression((FindModuleExpression) expr); } if (expr.getClass().equals(ParameterExpression.class)) { return visitParameterExpression((ParameterExpression) expr); } if (expr.getClass().equals(IfSwitchExpression.class)) { return visitIfSwitchExpression((IfSwitchExpression) expr); } if (expr.getClass().equals(ConstantExpression.class)) { return visitValueExpression((ConstantExpression) expr); } if (expr.getClass().equals(AssignmentExpression.class)) { return visitAssignmentExpression((AssignmentExpression) expr); } if (expr.getClass().equals(InvokeFunctionExpression.class)) { return visitInvokeFunctionExpression((InvokeFunctionExpression) expr); } if (expr.getClass().equals(ModuleExpression.class)) { return visitModuleExpression((ModuleExpression) expr); } if (expr.getClass().equals(AbortExpression.class)) { return visitAbortExpression((AbortExpression) expr); } if (expr.getClass().equals(ExampleExpression.class)) { return visitExampleExpression((ExampleExpression) expr); } if (expr.getClass().equals(ExternalFunctionExpression.class)) { return visitExternalFunctionExpression((ExternalFunctionExpression) expr); } if (expr.getClass().equals(ArrayExpression.class)) { return visitArrayExpression((ArrayExpression) expr); } if (expr.getClass().equals(AssignmentBlockExpression.class)) { return visitAssignmentBlockExpression((AssignmentBlockExpression) expr); } if (expr.getClass().equals(AssignmentReferenceExpression.class)) { return visitAssignmentReferenceExpression((AssignmentReferenceExpression) expr); } if (expr.getClass().equals(ModuleArchiveExpression.class)) { return visitModuleArchiveExpression((ModuleArchiveExpression) expr); } if (expr.getClass().equals(MultiStatementExpression.class)) { return visitMultiStatementExpression((MultiStatementExpression) expr); } if (expr.getClass().equals(NopExpression.class)) { return visitNopExpression((NopExpression) expr); } if (expr.getClass().equals(GlobalBuildEnvironmentExpression.class)) { return visitGlobalBuildEnvironmentExpression((GlobalBuildEnvironmentExpression) expr); } throw new RuntimeException("intr" + expr.getClass().toString()); } }
InterpretingVisitor { @Nullable public Object visit(@Nullable Expression expr) { if (expr == null) { return null; } if (expr.getClass().equals(FunctionTableExpression.class)) { return visitFunctionTableExpression((FunctionTableExpression) expr); } if (expr.getClass().equals(FindModuleExpression.class)) { return visitFindModuleExpression((FindModuleExpression) expr); } if (expr.getClass().equals(ParameterExpression.class)) { return visitParameterExpression((ParameterExpression) expr); } if (expr.getClass().equals(IfSwitchExpression.class)) { return visitIfSwitchExpression((IfSwitchExpression) expr); } if (expr.getClass().equals(ConstantExpression.class)) { return visitValueExpression((ConstantExpression) expr); } if (expr.getClass().equals(AssignmentExpression.class)) { return visitAssignmentExpression((AssignmentExpression) expr); } if (expr.getClass().equals(InvokeFunctionExpression.class)) { return visitInvokeFunctionExpression((InvokeFunctionExpression) expr); } if (expr.getClass().equals(ModuleExpression.class)) { return visitModuleExpression((ModuleExpression) expr); } if (expr.getClass().equals(AbortExpression.class)) { return visitAbortExpression((AbortExpression) expr); } if (expr.getClass().equals(ExampleExpression.class)) { return visitExampleExpression((ExampleExpression) expr); } if (expr.getClass().equals(ExternalFunctionExpression.class)) { return visitExternalFunctionExpression((ExternalFunctionExpression) expr); } if (expr.getClass().equals(ArrayExpression.class)) { return visitArrayExpression((ArrayExpression) expr); } if (expr.getClass().equals(AssignmentBlockExpression.class)) { return visitAssignmentBlockExpression((AssignmentBlockExpression) expr); } if (expr.getClass().equals(AssignmentReferenceExpression.class)) { return visitAssignmentReferenceExpression((AssignmentReferenceExpression) expr); } if (expr.getClass().equals(ModuleArchiveExpression.class)) { return visitModuleArchiveExpression((ModuleArchiveExpression) expr); } if (expr.getClass().equals(MultiStatementExpression.class)) { return visitMultiStatementExpression((MultiStatementExpression) expr); } if (expr.getClass().equals(NopExpression.class)) { return visitNopExpression((NopExpression) expr); } if (expr.getClass().equals(GlobalBuildEnvironmentExpression.class)) { return visitGlobalBuildEnvironmentExpression((GlobalBuildEnvironmentExpression) expr); } throw new RuntimeException("intr" + expr.getClass().toString()); }  }
InterpretingVisitor { @Nullable public Object visit(@Nullable Expression expr) { if (expr == null) { return null; } if (expr.getClass().equals(FunctionTableExpression.class)) { return visitFunctionTableExpression((FunctionTableExpression) expr); } if (expr.getClass().equals(FindModuleExpression.class)) { return visitFindModuleExpression((FindModuleExpression) expr); } if (expr.getClass().equals(ParameterExpression.class)) { return visitParameterExpression((ParameterExpression) expr); } if (expr.getClass().equals(IfSwitchExpression.class)) { return visitIfSwitchExpression((IfSwitchExpression) expr); } if (expr.getClass().equals(ConstantExpression.class)) { return visitValueExpression((ConstantExpression) expr); } if (expr.getClass().equals(AssignmentExpression.class)) { return visitAssignmentExpression((AssignmentExpression) expr); } if (expr.getClass().equals(InvokeFunctionExpression.class)) { return visitInvokeFunctionExpression((InvokeFunctionExpression) expr); } if (expr.getClass().equals(ModuleExpression.class)) { return visitModuleExpression((ModuleExpression) expr); } if (expr.getClass().equals(AbortExpression.class)) { return visitAbortExpression((AbortExpression) expr); } if (expr.getClass().equals(ExampleExpression.class)) { return visitExampleExpression((ExampleExpression) expr); } if (expr.getClass().equals(ExternalFunctionExpression.class)) { return visitExternalFunctionExpression((ExternalFunctionExpression) expr); } if (expr.getClass().equals(ArrayExpression.class)) { return visitArrayExpression((ArrayExpression) expr); } if (expr.getClass().equals(AssignmentBlockExpression.class)) { return visitAssignmentBlockExpression((AssignmentBlockExpression) expr); } if (expr.getClass().equals(AssignmentReferenceExpression.class)) { return visitAssignmentReferenceExpression((AssignmentReferenceExpression) expr); } if (expr.getClass().equals(ModuleArchiveExpression.class)) { return visitModuleArchiveExpression((ModuleArchiveExpression) expr); } if (expr.getClass().equals(MultiStatementExpression.class)) { return visitMultiStatementExpression((MultiStatementExpression) expr); } if (expr.getClass().equals(NopExpression.class)) { return visitNopExpression((NopExpression) expr); } if (expr.getClass().equals(GlobalBuildEnvironmentExpression.class)) { return visitGlobalBuildEnvironmentExpression((GlobalBuildEnvironmentExpression) expr); } throw new RuntimeException("intr" + expr.getClass().toString()); }  @Nullable Object visit(@Nullable Expression expr); }
InterpretingVisitor { @Nullable public Object visit(@Nullable Expression expr) { if (expr == null) { return null; } if (expr.getClass().equals(FunctionTableExpression.class)) { return visitFunctionTableExpression((FunctionTableExpression) expr); } if (expr.getClass().equals(FindModuleExpression.class)) { return visitFindModuleExpression((FindModuleExpression) expr); } if (expr.getClass().equals(ParameterExpression.class)) { return visitParameterExpression((ParameterExpression) expr); } if (expr.getClass().equals(IfSwitchExpression.class)) { return visitIfSwitchExpression((IfSwitchExpression) expr); } if (expr.getClass().equals(ConstantExpression.class)) { return visitValueExpression((ConstantExpression) expr); } if (expr.getClass().equals(AssignmentExpression.class)) { return visitAssignmentExpression((AssignmentExpression) expr); } if (expr.getClass().equals(InvokeFunctionExpression.class)) { return visitInvokeFunctionExpression((InvokeFunctionExpression) expr); } if (expr.getClass().equals(ModuleExpression.class)) { return visitModuleExpression((ModuleExpression) expr); } if (expr.getClass().equals(AbortExpression.class)) { return visitAbortExpression((AbortExpression) expr); } if (expr.getClass().equals(ExampleExpression.class)) { return visitExampleExpression((ExampleExpression) expr); } if (expr.getClass().equals(ExternalFunctionExpression.class)) { return visitExternalFunctionExpression((ExternalFunctionExpression) expr); } if (expr.getClass().equals(ArrayExpression.class)) { return visitArrayExpression((ArrayExpression) expr); } if (expr.getClass().equals(AssignmentBlockExpression.class)) { return visitAssignmentBlockExpression((AssignmentBlockExpression) expr); } if (expr.getClass().equals(AssignmentReferenceExpression.class)) { return visitAssignmentReferenceExpression((AssignmentReferenceExpression) expr); } if (expr.getClass().equals(ModuleArchiveExpression.class)) { return visitModuleArchiveExpression((ModuleArchiveExpression) expr); } if (expr.getClass().equals(MultiStatementExpression.class)) { return visitMultiStatementExpression((MultiStatementExpression) expr); } if (expr.getClass().equals(NopExpression.class)) { return visitNopExpression((NopExpression) expr); } if (expr.getClass().equals(GlobalBuildEnvironmentExpression.class)) { return visitGlobalBuildEnvironmentExpression((GlobalBuildEnvironmentExpression) expr); } throw new RuntimeException("intr" + expr.getClass().toString()); }  @Nullable Object visit(@Nullable Expression expr);  }