org.siebengeisslein.pclass
Class AbstractRefPType

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.pclass.AbstractRefPType
All Implemented Interfaces:
Instrumented, PType
Direct Known Subclasses:
ExternalPType, InternalPType, PNamedEntryType, PNamedEntryType, PNamedListFieldType

public abstract class AbstractRefPType
extends Persistent
implements PType


Field Summary
static java.lang.String CONSTRUCTOR_NAME
           
 
Constructor Summary
AbstractRefPType()
           
 
Method Summary
 int distanceFrom(PType type)
           
 boolean equals(java.lang.Object obj)
           
abstract  java.lang.String getClassname()
           
 java.lang.String getDescriptor()
           
abstract  java.util.List<AbstractRefPType> getImplementedInterfaces()
           
 java.util.Set<PType> getImplementedTypes()
           
 Expression getInitialValue(ExpressionContainer container)
           
abstract  AbstractRefPType getSuperClass()
           
 org.objectweb.asm.Type getType()
           
 int hashCode()
           
 boolean isAssignableFrom(PType type)
           
 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, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.siebengeisslein.pclass.PType
getAllFields, getAllMethods, getConstructor, getField, getMethod, getName, getSort, getTypeManager, isAbstract, isInterface
 

Field Detail

CONSTRUCTOR_NAME

public static final java.lang.String CONSTRUCTOR_NAME
See Also:
Constant Field Values
Constructor Detail

AbstractRefPType

public AbstractRefPType()
Method Detail

getClassname

public abstract java.lang.String getClassname()

getSuperClass

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

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

isAssignableFrom

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

getImplementedInterfaces

public abstract java.util.List<AbstractRefPType> getImplementedInterfaces()

distanceFrom

public int distanceFrom(PType type)
Specified by:
distanceFrom in interface PType

hashCode

public int hashCode()
Overrides:
hashCode in class Persistent

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

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

getImplementedTypes

public java.util.Set<PType> getImplementedTypes()
Specified by:
getImplementedTypes in interface PType