Module jdk.compiler

Interface BreakTree

  • All Superinterfaces:
    StatementTree, Tree


    public interface BreakTree
    extends StatementTree
    A tree node for a break statement. For example:
       break;
    
       break label ;
     
    Since:
    1.6
    See The Java™ Language Specification:
    section 14.15
    • Method Detail

      • getLabel

        Name getLabel​()
        Returns the label for this break statement.
        Returns:
        the label