--- a/langtools/src/share/classes/com/sun/source/tree/BreakTree.java Wed Jun 25 17:58:37 2014 -0700
+++ b/langtools/src/share/classes/com/sun/source/tree/BreakTree.java Wed Jun 25 19:04:52 2014 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
import javax.lang.model.element.Name;
/**
- * A tree node for a 'break' statement.
+ * A tree node for a {@code break} statement.
*
* For example:
* <pre>
@@ -45,5 +45,9 @@
*/
@jdk.Exported
public interface BreakTree extends StatementTree {
+ /**
+ * Returns the label for this {@code break} statement.
+ * @return the label
+ */
Name getLabel();
}