pnuts.compiler
Class ClassGenerator.SuperCallProxy
java.lang.Object
pnuts.compiler.ClassGenerator.SuperCallProxy
- All Implemented Interfaces:
- AbstractData, Property
- Enclosing class:
- ClassGenerator
public static class ClassGenerator.SuperCallProxy
- extends java.lang.Object
- implements AbstractData
Method Summary |
java.lang.Object |
get(java.lang.String name,
Context context)
This method defines the behavior of the following expression. |
java.lang.Object |
invoke(java.lang.String name,
java.lang.Object[] args,
Context context)
Defines the behavior of a method call. |
void |
set(java.lang.String name,
java.lang.Object value,
Context context)
This method defines the behavior of the following expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassGenerator.SuperCallProxy
public ClassGenerator.SuperCallProxy(java.lang.Object target)
get
public java.lang.Object get(java.lang.String name,
Context context)
- Description copied from interface:
Property
- This method defines the behavior of the following expression.
aProperty
.
name
- Specified by:
get
in interface Property
- Parameters:
name
- the name.context
- the context in which the expression is evaluated.
set
public void set(java.lang.String name,
java.lang.Object value,
Context context)
- Description copied from interface:
Property
- This method defines the behavior of the following expression.
aProperty
.
name
=
value
- Specified by:
set
in interface Property
- Parameters:
name
- the name.value
- the value.context
- the context in which the expression is evaluated.
invoke
public java.lang.Object invoke(java.lang.String name,
java.lang.Object[] args,
Context context)
- Description copied from interface:
AbstractData
- Defines the behavior of a method call.
- Specified by:
invoke
in interface AbstractData
- Parameters:
name
- the method nameargs
- the argumentscontext
- the context in which the method is called.
- Returns:
- the result of the method call