Java org.eclipse.jdt.core.dom EnhancedForStatement fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom EnhancedForStatement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom EnhancedForStatement.

The text is from its open source code.

Field

ChildPropertyDescriptorBODY_PROPERTY
The "body" structural property of this node type (child type: Statement ).

Constructor

EnhancedForStatement(AST ast)
Creates a new AST node for an enchanced for statement owned by the given AST.

Method

StatementgetBody()
Returns the body of this enchanced for statement.
ExpressiongetExpression()
Returns the expression of this enhanced for statement.
SingleVariableDeclarationgetParameter()
Returns the formal parameter in this enhanced for statement.
voidsetBody(Statement statement)
Sets the body of this enhanced for statement.
voidsetExpression(Expression expression)
Sets the expression of this enhanced for statement.
voidsetParameter(SingleVariableDeclaration parameter)
Sets the formal parameter in this enhanced for statement.