org.omegahat.Environment.Language
Class MethodAlias

java.lang.Object
  |
  +--org.omegahat.Environment.Language.StaticMethodAlias
        |
        +--org.omegahat.Environment.Language.MethodAlias
All Implemented Interfaces:
Evaluable

public class MethodAlias
extends StaticMethodAlias


Field Summary
protected  java.lang.Object This
          The object representing the `this' against which the method can be invoked.
 
Fields inherited from class org.omegahat.Environment.Language.StaticMethodAlias
method
 
Constructor Summary
MethodAlias(java.lang.Object obj, java.lang.reflect.Method method)
          Constructor taking the `this' object and the Java method of interest.
 
Method Summary
 java.lang.Object This()
          Retrieve the object associated with this method.
 java.lang.Object This(java.lang.Object o)
           
 
Methods inherited from class org.omegahat.Environment.Language.StaticMethodAlias
eval, eval, Method, Method, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

This

protected java.lang.Object This
The object representing the `this' against which the method can be invoked. This can be replaced with an object of a compatible class so that calls can be made.
Constructor Detail

MethodAlias

public MethodAlias(java.lang.Object obj,
                   java.lang.reflect.Method method)
Constructor taking the `this' object and the Java method of interest.
Method Detail

This

public java.lang.Object This()
Retrieve the object associated with this method.
Overrides:
This in class StaticMethodAlias

This

public java.lang.Object This(java.lang.Object o)