org.siebengeisslein.pclass
Class PInternalField
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.pclass.VersionAware
org.siebengeisslein.pclass.PInternalField
- All Implemented Interfaces:
- Instrumented, CodeFragment, PField, Variable
public class PInternalField
- extends VersionAware
- implements Variable, PField
| 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 |
PInternalField
public PInternalField(PClass pclass,
java.lang.String name,
PType type)
getName
public java.lang.String getName()
- Specified by:
getName in interface PField- Specified by:
getName in interface Variable
setName
public void setName(java.lang.String name)
getType
public PType getType()
- Specified by:
getType in interface PField- Specified by:
getType in interface Variable
setType
public void setType(PType type)
getPClass
public PClass getPClass()
getTypeChangeCount
public int getTypeChangeCount()
getTypeChange
public TypeChange getTypeChange(int index)
visit
public void visit(org.objectweb.asm.ClassVisitor visitor)
- Specified by:
visit in class VersionAware
visitLoad
public void visitLoad(org.objectweb.asm.MethodVisitor mv,
int inputVariableIndex)
getInstrField
public InstrField getInstrField()
getInstrField
public InstrField getInstrField(org.objectweb.asm.Type type)
visitPut
public void visitPut(org.objectweb.asm.MethodVisitor mv)
writeField
public void writeField(org.objectweb.asm.MethodVisitor mv)
getReadAccess
public int getReadAccess()
setReadAccess
public void setReadAccess(int readAccess)
getWriteAccess
public int getWriteAccess()
setWriteAccess
public void setWriteAccess(int writeAccess)
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
getOwner
public PType getOwner()
- Specified by:
getOwner in interface PField
isStatic
public boolean isStatic()
- Specified by:
isStatic in interface PField
getTypeBefore
public PType getTypeBefore(int version)
createTypeChange
public void createTypeChange()
isPublic
public boolean isPublic()
- Specified by:
isPublic in interface PField