org.siebengeisslein.pclass.expression
Class AbstractExpression
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.pclass.expression.AbstractExpression
- All Implemented Interfaces:
- CommitConstrained, Instrumented, CodeFragment, Expression
- Direct Known Subclasses:
- AbstractInvocationExpression, AbstractLiteral, BinaryOperator, CastExpression, ClassExpression, DereferenceExpression, NullExpression, OperandFilterExpression, ParenthesisExpression, QueryExpression, TableExpression, UnknownExpression, VariableExpression
public abstract class AbstractExpression
- extends Persistent
- implements Expression, CommitConstrained
| 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, wait, wait, wait |
AbstractExpression
public AbstractExpression(ExpressionContainer parent)
getDataDirectory
public DataDirectory getDataDirectory()
replaceWith
public void replaceWith(Expression expression)
- Specified by:
replaceWith in interface Expression
getContainer
public ExpressionContainer getContainer()
- Specified by:
getContainer in interface Expression
setContainer
public void setContainer(ExpressionContainer parent)
- Specified by:
setContainer in interface Expression
getVariableManager
public AbstractModifieableVariableManager getVariableManager()
- Specified by:
getVariableManager in interface Expression
getTypeManager
public TypeManager getTypeManager()
loadClass
public java.lang.Class loadClass(PType type)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getOwnerClass
public PClass getOwnerClass()
getOwnerMethod
public PMethod getOwnerMethod()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
checkConstraints
public void checkConstraints()
- Specified by:
checkConstraints in interface CommitConstrained
isAssignable
public boolean isAssignable()
- Specified by:
isAssignable in interface Expression
visitAssignTo
public void visitAssignTo(org.objectweb.asm.MethodVisitor mv,
Frame frame,
PClass clazz)
- Specified by:
visitAssignTo in interface Expression
onRemove
public void onRemove()
- Specified by:
onRemove in interface Expression