koala.dynamicjava.interpreter.modifier
Class SuperFieldModifier
java.lang.Object
|
+--koala.dynamicjava.interpreter.modifier.LeftHandSideModifier
|
+--koala.dynamicjava.interpreter.modifier.SuperFieldModifier
- public class SuperFieldModifier
- extends LeftHandSideModifier
This interface represents the objets that modify an super field
Method Summary |
void |
modify(Context ctx,
java.lang.Object value)
Sets the value of the underlying left hand side expression |
java.lang.Object |
prepare(Visitor v,
Context ctx)
Prepares the modifier for modification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
field
protected java.lang.reflect.Field field
- The field
node
protected SuperFieldAccess node
- The node
SuperFieldModifier
public SuperFieldModifier(java.lang.reflect.Field f,
SuperFieldAccess n)
- Creates a new field modifier
- Parameters:
f
- the field to modifyn
- the field access node
prepare
public java.lang.Object prepare(Visitor v,
Context ctx)
- Prepares the modifier for modification
- Overrides:
prepare
in class LeftHandSideModifier
- Following copied from class:
koala.dynamicjava.interpreter.modifier.LeftHandSideModifier
- Returns:
- the value of the left hand side
modify
public void modify(Context ctx,
java.lang.Object value)
- Sets the value of the underlying left hand side expression
- Overrides:
modify
in class LeftHandSideModifier
Copyright © 2001 Stephane Hillion. All Rights Reserved.