Searched refs:switchStmt (Results 1 – 7 of 7) sorted by relevance
47 SwitchStmt switchStmt = (SwitchStmt) requireParentNode(wrappedNode); in solveSymbol() local48 ResolvedType type = JavaParserFacade.get(typeSolver).getType(switchStmt.getSelector()); in solveSymbol()61 for (SwitchEntryStmt seStmt : switchStmt.getEntries()) { in solveSymbol()
2 …Line 48) JavaParserFacade.get(typeSolver).getType(switchStmt.getSelector()) ==> com.github.javapar…4 Line 48) switchStmt.getSelector() ==> com.github.javaparser.ast.stmt.SwitchStmt.getSelector()14 Line 61) switchStmt.getEntries() ==> com.github.javaparser.ast.stmt.SwitchStmt.getEntries()
43 SwitchStmt switchStmt = Navigator.findSwitch(method); in switchOnEnum() local44 Expression expression = switchStmt.getEntries().get(0).getLabel().get(); in switchOnEnum()
978 switchStmt(hasCondition(integerLiteral(equals(42)))); in TEST()1300 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()1302 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()1304 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()1307 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()1309 switchStmt(forEachSwitchCase( in TEST()1312 switchStmt(forEachSwitchCase( in TEST()1315 switchStmt(forEachSwitchCase( in TEST()1319 switchStmt(forEachSwitchCase(caseStmt().bind("x"))), in TEST()
1059 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchStmt())); in TEST()1060 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchStmt())); in TEST()1061 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchStmt())); in TEST()1062 EXPECT_TRUE(notMatches("void x() {}", switchStmt())); in TEST()
392 REGISTER_MATCHER(switchStmt); in RegistryMaps()
1555 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; variable