org.siebengeisslein.ide.data
Class AbstractGlobalVarType

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.ide.data.AbstractGlobalVarType
All Implemented Interfaces:
Instrumented, PType
Direct Known Subclasses:
GlobalDataType

public abstract class AbstractGlobalVarType
extends Persistent
implements PType


Constructor Summary
AbstractGlobalVarType(TypeManager manager)
           
 
Method Summary
 java.util.List<PField> getAllFields()
           
 java.util.List<PMethod> getAllMethods()
           
 java.lang.String getDescriptor()
           
 Expression getInitialValue(ExpressionContainer container)
           
 PMethod getMethod(java.lang.String name, java.util.List<PType> params)
           
 PType getSuperClass()
           
 org.objectweb.asm.Type getType()
           
 TypeManager getTypeManager()
           
 boolean isAssignableFrom(PType type)
           
 boolean isInterface()
           
 void visitConvertFromObject(org.objectweb.asm.MethodVisitor mv)
           
 void visitConvertToObject(org.objectweb.asm.MethodVisitor mv)
           
 
Methods inherited from class org.siebengeisslein.client.Persistent
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.siebengeisslein.pclass.PType
distanceFrom, getConstructor, getField, getImplementedTypes, getName, getSort, isAbstract
 

Constructor Detail

AbstractGlobalVarType

public AbstractGlobalVarType(TypeManager manager)
Method Detail

getTypeManager

public TypeManager getTypeManager()
Specified by:
getTypeManager in interface PType

getMethod

public PMethod getMethod(java.lang.String name,
                         java.util.List<PType> params)
Specified by:
getMethod in interface PType

getAllMethods

public java.util.List<PMethod> getAllMethods()
Specified by:
getAllMethods in interface PType

isAssignableFrom

public boolean isAssignableFrom(PType type)
Specified by:
isAssignableFrom in interface PType

getType

public org.objectweb.asm.Type getType()
Specified by:
getType in interface PType

getDescriptor

public java.lang.String getDescriptor()
Specified by:
getDescriptor in interface PType

getSuperClass

public PType getSuperClass()
Specified by:
getSuperClass in interface PType
Returns:
superclass or null if this type does not have a superclass (object/basic/void types).

isInterface

public boolean isInterface()
Specified by:
isInterface in interface PType

visitConvertFromObject

public void visitConvertFromObject(org.objectweb.asm.MethodVisitor mv)
Specified by:
visitConvertFromObject in interface PType

visitConvertToObject

public void visitConvertToObject(org.objectweb.asm.MethodVisitor mv)
Specified by:
visitConvertToObject in interface PType

getInitialValue

public Expression getInitialValue(ExpressionContainer container)
Specified by:
getInitialValue in interface PType

getAllFields

public java.util.List<PField> getAllFields()
Specified by:
getAllFields in interface PType