/* * @(#)BlockT.java */ package javax.ide.model.java.source.tree; import java.util.Collection; import java.util.List; /** * A code block. Blocks may be children of methods declarations, * constructor declarations, class initializers, and statements. A * block may contain any child that extends BlockElementT, in * particular: ClassT, LocalVariableDeclT, StatementT, * SwitchLabelT.
* * @see BlockElementT * * @author Andy Yu */ public interface BlockT extends Tree { // ---------------------------------------------------------------------- /** * Gets the list of block elements. The only difference between * getBlockElements() and getChildren() is the type. Notice that * getBlockElements() returns a List