Uses of Class
org.eclipse.jdt.core.dom.Statement
Packages that use Statement
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
-
Uses of Statement in org.eclipse.jdt.core.dom
Subclasses of Statement in org.eclipse.jdt.core.domModifier and TypeClassDescriptionclassAssert statement AST node type.classBlock statement AST node type.classBreak statement AST node type.classAlternate constructor invocation statement AST node type.classContinue statement AST node type.classDo statement AST node type.classNull statement AST node type.classEnhanced For statement AST node type (added in JLS3 API).classExpression statement AST node type.classFor statement AST node type.classIf statement AST node type.classLabeled statement AST node type.classReturn statement AST node type.classSuper constructor invocation statement AST node type.classSwitch case AST node type.classSwitch statement AST node type.classSynchronized statement AST node type.classThrow statement AST node type.classTry statement AST node type.classLocal type declaration statement AST node type.classLocal variable declaration statement AST node type.classWhile statement AST node type.classYield statement AST node type.Methods in org.eclipse.jdt.core.dom that return StatementModifier and TypeMethodDescriptionDoStatement.getBody()Returns the body of this do statement.EnhancedForStatement.getBody()Returns the body of this enchanced for statement.ForStatement.getBody()Returns the body of this for statement.LabeledStatement.getBody()Returns the body of this labeled statement.WhileStatement.getBody()Returns the body of this while statement.IfStatement.getElseStatement()Returns the "else" part of this if statement, ornullif this if statement has no "else" part.IfStatement.getThenStatement()Returns the "then" part of this if statement.Methods in org.eclipse.jdt.core.dom with parameters of type StatementModifier and TypeMethodDescriptionvoidSets the body of this do statement.voidSets the body of this enhanced for statement.voidSets the body of this for statement.voidSets the body of this labeled statement.voidSets the body of this while statement.voidIfStatement.setElseStatement(Statement statement) Sets or clears the "else" part of this if statement.voidIfStatement.setThenStatement(Statement statement) Sets the "then" part of this if statement.