javafx.reflect
Class MethodRef

java.lang.Object
  extended by javafx.reflect.MemberRef
      extended by javafx.reflect.MethodRef

public abstract class MethodRef
extends MemberRef

A reference to a function in a class. Corresponds to java.lang.reflect.Method, or com.sun.jdi.Methods, respectively.


Constructor Summary
protected MethodRef()
           
 
Method Summary
 FunctionValueRef asFunction(ObjectRef owner)
          Associate the method with a receiver object to yield a function.
abstract  FunctionTypeRef getType()
           
abstract  ValueRef invoke(ObjectRef owner, ValueRef... arg)
          Invoke this method on the given receiver and arguments.
 
Methods inherited from class javafx.reflect.MemberRef
getDeclaringType, getName, isStatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodRef

protected MethodRef()
Method Detail

asFunction

public FunctionValueRef asFunction(ObjectRef owner)
Associate the method with a receiver object to yield a function.


getType

public abstract FunctionTypeRef getType()

invoke

public abstract ValueRef invoke(ObjectRef owner,
                                ValueRef... arg)
Invoke this method on the given receiver and arguments.