edu.wpi.ebob.internal.jem
Class JEMClass

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.JEMClass
All Implemented Interfaces:
IClass, IMember, IObject

public class JEMClass
extends JEMMember
implements IClass

Author:
Liam Morley

Field Summary
private  java.lang.String cachedClassName
           
private  boolean cachedClassNamePref
           
private static java.util.Map classes
           
private  org.eclipse.jem.internal.proxy.core.IBeanTypeProxy jemClass
           
 
Fields inherited from class edu.wpi.ebob.internal.jem.JEMObject
jemObject
 
Constructor Summary
private JEMClass(org.eclipse.jem.internal.proxy.core.IBeanTypeProxy jemClass)
           
 
Method Summary
private  org.eclipse.jem.internal.proxy.core.IBeanTypeProxy[] getBeanTypeProxies(IClass[] iclasses)
           
(package private)  org.eclipse.jem.internal.proxy.core.IBeanTypeProxy getBeanTypeProxy()
           
(package private) static JEMClass getClass(org.eclipse.jem.internal.proxy.core.IBeanTypeProxy jemClass)
           
 IClass getComponentType()
           
 IConstructor getConstructor(IClass[] parameterTypes)
           
 IConstructor[] getConstructors()
           
 IField getDeclaredField(java.lang.String name)
           
 IField[] getDeclaredFields()
           
 IMethod getDeclaredMethod(java.lang.String name, IClass[] parameterTypes)
          currently does the same thing as getMethod.
 IField getField(java.lang.String name)
           
 IClass getIClass()
          Returns this.
 IMethod getMethod(java.lang.String name, IClass[] parameterTypes)
           
 IMethod[] getMethods()
           
 IClass getSuperclass()
           
 boolean isArray()
           
 boolean isPrimitive()
           
 IObject newInstance()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.wpi.ebob.internal.jem.JEMMember
getName, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynchronized
 
Methods inherited from class edu.wpi.ebob.internal.jem.JEMObject
getBeanProxy, getObject, isInstanceof, objToString
 
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
getName, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynchronized
 
Methods inherited from interface edu.wpi.ebob.model.cm.IObject
isInstanceof, objToString
 

Field Detail

classes

private static java.util.Map classes

cachedClassName

private java.lang.String cachedClassName

cachedClassNamePref

private boolean cachedClassNamePref

jemClass

private org.eclipse.jem.internal.proxy.core.IBeanTypeProxy jemClass
Constructor Detail

JEMClass

private JEMClass(org.eclipse.jem.internal.proxy.core.IBeanTypeProxy jemClass)
Method Detail

getClass

static JEMClass getClass(org.eclipse.jem.internal.proxy.core.IBeanTypeProxy jemClass)
See Also:
IObject.getIClass()

getBeanTypeProxies

private org.eclipse.jem.internal.proxy.core.IBeanTypeProxy[] getBeanTypeProxies(IClass[] iclasses)

getBeanTypeProxy

org.eclipse.jem.internal.proxy.core.IBeanTypeProxy getBeanTypeProxy()

getComponentType

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

getConstructor

public IConstructor getConstructor(IClass[] parameterTypes)
Specified by:
getConstructor in interface IClass
See Also:
IClass.getConstructor(IClass[])

getConstructors

public IConstructor[] getConstructors()
                               throws RemoteException
Specified by:
getConstructors in interface IClass
Throws:
RemoteException
See Also:
IClass.getConstructors()

getDeclaredField

public IField getDeclaredField(java.lang.String name)
Specified by:
getDeclaredField in interface IClass
See Also:
IClass.getDeclaredField(java.lang.String)

getDeclaredFields

public IField[] getDeclaredFields()
                           throws RemoteException
Specified by:
getDeclaredFields in interface IClass
Throws:
RemoteException
See Also:
IClass.getDeclaredFields()

getDeclaredMethod

public IMethod getDeclaredMethod(java.lang.String name,
                                 IClass[] parameterTypes)
currently does the same thing as getMethod. There is no underlying "getDeclaredMethod" in JEM.

Specified by:
getDeclaredMethod in interface IClass
See Also:
IClass.getDeclaredMethod(String, IClass[])

getField

public IField getField(java.lang.String name)
Specified by:
getField in interface IClass
See Also:
IClass.getField(java.lang.String)

getIClass

public IClass getIClass()
Returns this.

Specified by:
getIClass in interface IObject
Overrides:
getIClass in class JEMObject
See Also:
IObject.getIClass()

getMethod

public IMethod getMethod(java.lang.String name,
                         IClass[] parameterTypes)
                  throws RemoteException
Specified by:
getMethod in interface IClass
Throws:
RemoteException
See Also:
IClass.getMethod(String, IClass[])

getMethods

public IMethod[] getMethods()
                     throws RemoteException
Specified by:
getMethods in interface IClass
Throws:
RemoteException
See Also:
IClass.getMethods()

getSuperclass

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

isArray

public boolean isArray()
Specified by:
isArray in interface IClass
See Also:
IClass.isArray()

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in interface IClass
See Also:
IClass.isPrimitive()

newInstance

public IObject newInstance()
                    throws RemoteException
Specified by:
newInstance in interface IClass
Throws:
RemoteException
See Also:
IClass.newInstance()

toString

public java.lang.String toString()
Overrides:
toString in class JEMObject
See Also:
Object.toString()