src/share/classes/com/sun/source/tree/IfTree.java

changeset 1590
011cf7e0a148
parent 972
694ff82ca68e
child 2083
379c04c090cf
equal deleted inserted replaced
1589:87884cd0fea3 1590:011cf7e0a148
1 /* 1 /*
2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
43 * 43 *
44 * @author Peter von der Ahé 44 * @author Peter von der Ahé
45 * @author Jonathan Gibbons 45 * @author Jonathan Gibbons
46 * @since 1.6 46 * @since 1.6
47 */ 47 */
48 @jdk.Supported
48 public interface IfTree extends StatementTree { 49 public interface IfTree extends StatementTree {
49 ExpressionTree getCondition(); 50 ExpressionTree getCondition();
50 StatementTree getThenStatement(); 51 StatementTree getThenStatement();
51 /** 52 /**
52 * @return null if this if statement has no else branch. 53 * @return null if this if statement has no else branch.

mercurial