koala.dynamicjava.tree
Class Initializer

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Initializer
All Implemented Interfaces:
SourceInfo.Wrapper
Direct Known Subclasses:
ClassInitializer, InstanceInitializer

public abstract class Initializer
extends Node

This class represents the initializer statement nodes of the syntax tree

Version:
1.0 - 1999/05/27
Author:
Stephane Hillion

Constructor Summary
protected Initializer(BlockStatement block, SourceInfo si)
          Creates a new initializer statement
 
Method Summary
 BlockStatement getBlock()
          Gets the block statement
 void setBlock(BlockStatement bs)
          Sets the block statement
 
Methods inherited from class koala.dynamicjava.tree.Node
acceptVisitor, archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Initializer

protected Initializer(BlockStatement block,
                      SourceInfo si)
Creates a new initializer statement

Parameters:
block - the block
Throws:
java.lang.IllegalArgumentException - if block is null
Method Detail

getBlock

public BlockStatement getBlock()
Gets the block statement


setBlock

public void setBlock(BlockStatement bs)
Sets the block statement

Throws:
java.lang.IllegalArgumentException - if bs is null