org.siebengeisslein.pclass
Class PLocalVariable

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.pclass.PLocalVariable
All Implemented Interfaces:
Instrumented, CodeFragment, HasType, Variable
Direct Known Subclasses:
PDeclaredMethodParameter, PMigrationVariable, ThisVariable

public class PLocalVariable
extends Persistent
implements Variable, HasType


Constructor Summary
PLocalVariable()
           
PLocalVariable(java.lang.String name)
           
PLocalVariable(java.lang.String name, PType type)
           
 
Method Summary
 java.lang.String getName()
           
 PType getType()
           
 TypeManager getTypeManager()
           
 boolean isResolved()
           
 void setName(java.lang.String name)
           
 void setType(PType type)
           
 void visitGet(PClass clazz, org.objectweb.asm.MethodVisitor mv, Frame frame)
           
 void visitSet(PClass clazz, org.objectweb.asm.MethodVisitor mv, Frame frame)
           
 
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
 

Constructor Detail

PLocalVariable

public PLocalVariable()

PLocalVariable

public PLocalVariable(java.lang.String name)

PLocalVariable

public PLocalVariable(java.lang.String name,
                      PType type)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Variable

setName

public void setName(java.lang.String name)

getType

public PType getType()
Specified by:
getType in interface HasType
Specified by:
getType in interface Variable

setType

public void setType(PType type)
Specified by:
setType in interface HasType

isResolved

public boolean isResolved()

visitGet

public void visitGet(PClass clazz,
                     org.objectweb.asm.MethodVisitor mv,
                     Frame frame)
Specified by:
visitGet in interface Variable

visitSet

public void visitSet(PClass clazz,
                     org.objectweb.asm.MethodVisitor mv,
                     Frame frame)
Specified by:
visitSet in interface Variable

getTypeManager

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