Uses of Interface
com.sun.source.tree.StatementTree
-
Packages that use StatementTree Package Description com.sun.source.tree Provides interfaces to represent source code as abstract syntax trees (AST). -
-
Uses of StatementTree in com.sun.source.tree
Subinterfaces of StatementTree in com.sun.source.tree Modifier and Type Interface Description interfaceAssertTreeA tree node for anassertstatement.interfaceBlockTreeA tree node for a statement block.interfaceBreakTreeA tree node for abreakstatement.interfaceClassTreeA tree node for a class, interface, enum, or annotation type declaration.interfaceContinueTreeA tree node for acontinuestatement.interfaceDoWhileLoopTreeA tree node for adostatement.interfaceEmptyStatementTreeA tree node for an empty (skip) statement.interfaceEnhancedForLoopTreeA tree node for an "enhanced"forloop statement.interfaceExpressionStatementTreeA tree node for an expression statement.interfaceForLoopTreeA tree node for a basicforloop statement.interfaceIfTreeA tree node for anifstatement.interfaceLabeledStatementTreeA tree node for a labeled statement.interfaceReturnTreeA tree node for areturnstatement.interfaceSwitchTreeA tree node for aswitchstatement.interfaceSynchronizedTreeA tree node for asynchronizedstatement.interfaceThrowTreeA tree node for athrowstatement.interfaceTryTreeA tree node for atrystatement.interfaceVariableTreeA tree node for a variable declaration.interfaceWhileLoopTreeA tree node for awhileloop statement.Methods in com.sun.source.tree that return StatementTree Modifier and Type Method Description StatementTreeIfTree. getElseStatement()Returns the statement to be executed if the condition is false, ornullif there is no such statement.StatementTreeDoWhileLoopTree. getStatement()Returns the body of the loop.StatementTreeEnhancedForLoopTree. getStatement()Returns the body of the loop.StatementTreeForLoopTree. getStatement()Returns the body of theforstatement.StatementTreeLabeledStatementTree. getStatement()Returns the statement that is labeled.StatementTreeWhileLoopTree. getStatement()Returns the body of the loop.StatementTreeIfTree. getThenStatement()Returns the statement to be executed if the condition is trueMethods in com.sun.source.tree that return types with arguments of type StatementTree Modifier and Type Method Description List<? extends StatementTree>ForLoopTree. getInitializer()Returns any initializers of theforstatement.List<? extends StatementTree>BlockTree. getStatements()Returns the statements comprising this block.List<? extends StatementTree>CaseTree. getStatements()Returns the statements labeled by the case.
-