ASTSwitchLabel extends AbstractJavaNode { public boolean isDefault() { return isDefault; } @InternalApi @Deprecated  ASTSwitchLabel(int id); @InternalApi @Deprecated  ASTSwitchLabel(JavaParser p, int id); @InternalApi @Deprecated void setDefault(); boolean isDefault(); @Override Object jjtAccept(JavaParserVisitor visitor, Object data);  }
@Test public void testDefaultOff() { List<ASTSwitchLabel> ops = java.getNodes(ASTSwitchLabel.class, TEST1); assertFalse(ops.get(0).isDefault()); }
@Test public void testDefaultSet() { List<ASTSwitchLabel> ops = java.getNodes(ASTSwitchLabel.class, TEST2); assertTrue(ops.get(0).isDefault()); }