public abstract class Statement extends java.lang.Object implements IItemWithOffset, Typable, ITypeReplacementListener
Constructor and Description |
---|
Statement(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
addOffsetsToStatement(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
abstract void |
codegen(ClassFile classfile,
CodeAttribute code,
de.dhbwstuttgart.typeinference.Menge paralist) |
int |
getOffset() |
java.lang.String |
getTypeInformation() |
Type |
getTypeVariable() |
int |
getVariableLength() |
abstract java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
replaceType(CReplaceTypeEvent e)
Tauscht einen Typ gegen einen anderen aus.
|
void |
setType(Type t)
Author: J�rg B�uerle Verschoben aus ExprStmt von Andreas Stadelmeier, a10023 |
void |
setTypeVariable(Type typ) |
abstract CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData) |
abstract ConstraintsSet |
TYPEStmt(TypeAssumptions assumptions) |
abstract void |
wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist,
de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTypeLineNumber
public int getOffset()
getOffset
in interface IItemWithOffset
public int getVariableLength()
getVariableLength
in interface IItemWithOffset
public abstract void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
JVMCodeException
public abstract CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData) throws CTypeReconstructionException
CTypeReconstructionException
public abstract void wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist, de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters)
public abstract boolean addOffsetsToStatement(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
public abstract ConstraintsSet TYPEStmt(TypeAssumptions assumptions)
public void setTypeVariable(Type typ)
setTypeVariable
in interface Typable
typ
- Der Typ der Typable-Expression/Statementpublic Type getTypeVariable()
getTypeVariable
in interface Typable
public java.lang.String getTypeInformation()
public void setType(Type t)
t
- public void replaceType(CReplaceTypeEvent e)
ITypeReplacementListener
replaceType
in interface ITypeReplacementListener
e
- Das Event mit dem neuen Typpublic abstract java.lang.String printJavaCode(ResultSet resultSet)