koala.dynamicjava.interpreter.modifier
Class FinalVariableModifier

java.lang.Object
  extended bykoala.dynamicjava.interpreter.modifier.LeftHandSideModifier
      extended bykoala.dynamicjava.interpreter.modifier.VariableModifier
          extended bykoala.dynamicjava.interpreter.modifier.FinalVariableModifier

public class FinalVariableModifier
extends VariableModifier

This interface represents objets that modify a final variable


Field Summary
 
Fields inherited from class koala.dynamicjava.interpreter.modifier.VariableModifier
name, representation, type
 
Constructor Summary
FinalVariableModifier(QualifiedName name, java.lang.Class type)
          Creates a new final variable modifier
 
Method Summary
 void modify(Context ctx, java.lang.Object value)
          Sets the value of the underlying left hand side expression
 
Methods inherited from class koala.dynamicjava.interpreter.modifier.VariableModifier
prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinalVariableModifier

public FinalVariableModifier(QualifiedName name,
                             java.lang.Class type)
Creates a new final variable modifier

Parameters:
name - the node of that represents this variable
type - the declared type of the variable
Method Detail

modify

public void modify(Context ctx,
                   java.lang.Object value)
Sets the value of the underlying left hand side expression

Overrides:
modify in class VariableModifier


Copyright © 2001 Stephane Hillion. All Rights Reserved.