equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, 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 |
41 * @author Jonathan Gibbons |
41 * @author Jonathan Gibbons |
42 * @since 1.6 |
42 * @since 1.6 |
43 */ |
43 */ |
44 @jdk.Exported |
44 @jdk.Exported |
45 public interface LabeledStatementTree extends StatementTree { |
45 public interface LabeledStatementTree extends StatementTree { |
|
46 /** |
|
47 * Returns the label. |
|
48 * @return the label |
|
49 */ |
46 Name getLabel(); |
50 Name getLabel(); |
|
51 |
|
52 /** |
|
53 * Returns the statement that is labeled. |
|
54 * @return the statement |
|
55 */ |
47 StatementTree getStatement(); |
56 StatementTree getStatement(); |
48 } |
57 } |