|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkoala.dynamicjava.interpreter.modifier.LeftHandSideModifier
koala.dynamicjava.interpreter.modifier.StaticFieldModifier
This interface represents the objets that modify a field
Field Summary | |
protected java.lang.reflect.Field |
field
The field |
protected Node |
node
The node |
Constructor Summary | |
StaticFieldModifier(java.lang.reflect.Field f,
Node n)
Creates a new field modifier |
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 Detail |
protected java.lang.reflect.Field field
protected Node node
Constructor Detail |
public StaticFieldModifier(java.lang.reflect.Field f, Node n)
f
- the field to modifyn
- the field access nodeMethod Detail |
public java.lang.Object prepare(Visitor v, Context ctx)
prepare
in class LeftHandSideModifier
public void modify(Context ctx, java.lang.Object value)
modify
in class LeftHandSideModifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |