equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2019, 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 |
47 */ |
47 */ |
48 public interface CaseTree extends Tree { |
48 public interface CaseTree extends Tree { |
49 /** |
49 /** |
50 * Returns the expression for the case, or |
50 * Returns the expression for the case, or |
51 * {@code null} if this is the default case. |
51 * {@code null} if this is the default case. |
52 * If this case has multiple lables, returns the first label. |
52 * If this case has multiple labels, returns the first label. |
53 * @return the expression for the case, or null |
53 * @return the expression for the case, or null |
54 */ |
54 */ |
55 ExpressionTree getExpression(); |
55 ExpressionTree getExpression(); |
56 |
56 |
57 /** |
57 /** |