edu.wpi.ebob.internal.jem
Class JEMMethod

java.lang.Object
  extended by edu.wpi.ebob.internal.jem.JEMObject
      extended by edu.wpi.ebob.internal.jem.JEMMember
          extended by edu.wpi.ebob.internal.jem.JEMMethod
All Implemented Interfaces:
IMember, IMethod, IObject

public class JEMMethod
extends JEMMember
implements IMethod

Author:
Liam Morley

Field Summary
private  org.eclipse.jem.internal.proxy.core.IMethodProxy jemMethod
           
private static java.util.Map methods
           
 
Fields inherited from class edu.wpi.ebob.internal.jem.JEMObject
jemObject
 
Constructor Summary
private JEMMethod(org.eclipse.jem.internal.proxy.core.IMethodProxy jemMethod)
           
 
Method Summary
 IClass getDeclaringClass()
           
(package private) static JEMMethod getMethod(org.eclipse.jem.internal.proxy.core.IMethodProxy jemMethod)
           
 java.lang.String getName()
           
 IClass[] getParameterTypes()
           
 IClass getReturnType()
           
 IObject invoke(IObject obj, IObject[] args)
           
 
Methods inherited from class edu.wpi.ebob.internal.jem.JEMMember
isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynchronized
 
Methods inherited from class edu.wpi.ebob.internal.jem.JEMObject
getBeanProxy, getIClass, getObject, isInstanceof, objToString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.wpi.ebob.model.cm.IMember
isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynchronized
 
Methods inherited from interface edu.wpi.ebob.model.cm.IObject
getIClass, isInstanceof, objToString
 

Field Detail

jemMethod

private org.eclipse.jem.internal.proxy.core.IMethodProxy jemMethod

methods

private static java.util.Map methods
Constructor Detail

JEMMethod

private JEMMethod(org.eclipse.jem.internal.proxy.core.IMethodProxy jemMethod)
Method Detail

getDeclaringClass

public IClass getDeclaringClass()
Specified by:
getDeclaringClass in interface IMethod
See Also:
IMethod.getDeclaringClass()

getName

public java.lang.String getName()
Specified by:
getName in interface IMember
Overrides:
getName in class JEMMember
See Also:
IMember.getName()

getReturnType

public IClass getReturnType()
Specified by:
getReturnType in interface IMethod
See Also:
IMethod.getReturnType()

getParameterTypes

public IClass[] getParameterTypes()
Specified by:
getParameterTypes in interface IMethod
See Also:
IMethod.getParameterTypes()

invoke

public IObject invoke(IObject obj,
                      IObject[] args)
               throws RemoteException
Specified by:
invoke in interface IMethod
Throws:
RemoteException
See Also:
IMethod.invoke(IObject, IObject[])

getMethod

static JEMMethod getMethod(org.eclipse.jem.internal.proxy.core.IMethodProxy jemMethod)