org.siebengeisslein.pclass
Class PLocalVariable
java.lang.Object
org.siebengeisslein.client.Persistent
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
| 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 |
PLocalVariable
public PLocalVariable()
PLocalVariable
public PLocalVariable(java.lang.String name)
PLocalVariable
public PLocalVariable(java.lang.String name,
PType type)
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