X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Statement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Statement.java index a6afa57..bb6e49f 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Statement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Statement.java @@ -8,14 +8,19 @@ package net.sourceforge.phpdt.internal.compiler.ast; public abstract class Statement extends AstNode { /** - * Create a node giving starting and ending offset + * Create a node giving starting and ending offset. * @param sourceStart starting offset * @param sourceEnd ending offset */ - public Statement(int sourceStart, int sourceEnd) { + public Statement(final int sourceStart, + final int sourceEnd) { super(sourceStart, sourceEnd); } + /** + * Tell if the block is empty. + * @return a statement is not empty by default + */ public boolean isEmptyBlock() { return false; }