org.siebengeisslein.pclass
Class InternalPType
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.pclass.AbstractRefPType
org.siebengeisslein.pclass.InternalPType
- All Implemented Interfaces:
- Instrumented, Indexable, PType
public class InternalPType
- extends AbstractRefPType
- implements PType, Indexable
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
InternalPType
public InternalPType(PClass clazz)
getClazz
public PClass getClazz()
getType
public org.objectweb.asm.Type getType()
- Specified by:
getType in interface PType- Overrides:
getType in class AbstractRefPType
getMethod
public PMethod getMethod(java.lang.String name,
java.util.List<PType> parameters)
- Specified by:
getMethod in interface PType
getDescriptor
public java.lang.String getDescriptor()
- Specified by:
getDescriptor in interface PType- Overrides:
getDescriptor in class AbstractRefPType
getField
public PField getField(java.lang.String name)
- Specified by:
getField in interface PType
- Returns:
- field or null if this type does not have a field
with name 'name'
getSuperClass
public AbstractRefPType getSuperClass()
- Specified by:
getSuperClass in interface PType- Specified by:
getSuperClass in class AbstractRefPType
- 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
getClassname
public java.lang.String getClassname()
- Specified by:
getClassname in class AbstractRefPType
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getAllMethods
public java.util.List<PMethod> getAllMethods()
- Specified by:
getAllMethods in interface PType
getAllFields
public java.util.List<PField> getAllFields()
- Specified by:
getAllFields in interface PType
getConstructor
public PMethod getConstructor(java.util.List<PType> params)
- Specified by:
getConstructor in interface PType
getName
public java.lang.String getName()
- Specified by:
getName in interface PType
getImplementedInterfaces
public java.util.List<AbstractRefPType> getImplementedInterfaces()
- Specified by:
getImplementedInterfaces in class AbstractRefPType
getTypeManager
public TypeManager getTypeManager()
- Specified by:
getTypeManager in interface PType
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract in interface PType
getSort
public TypeSort getSort()
- Description copied from interface:
PType
- This is needed for the indices of the type manager.
- Specified by:
getSort in interface PType
addChangeListener
public void addChangeListener(IndexChangeListener listener)
- Specified by:
addChangeListener in interface Indexable
removeChangeListener
public void removeChangeListener(IndexChangeListener listener)
- Specified by:
removeChangeListener in interface Indexable