public class NotExpr extends UnaryExpr
Constructor and Description |
---|
NotExpr(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
void |
addOffsetsToExpression(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
void |
codegen(ClassFile classfile,
CodeAttribute code,
de.dhbwstuttgart.typeinference.Menge paralist) |
Expr |
get_Expr() |
java.lang.String |
get_Name() |
void |
not_codegen(ClassFile classfile,
CodeAttribute code,
de.dhbwstuttgart.typeinference.Menge paralist) |
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
sc_check(de.dhbwstuttgart.typeinference.Menge<Class> classname,
java.util.Hashtable ch,
java.util.Hashtable<java.lang.String,java.lang.String> bh,
boolean ext,
java.util.Hashtable parach,
java.util.Hashtable<java.lang.String,java.util.Hashtable> parabh) |
void |
set_Expr(Expr ex) |
void |
set_UnaryNot(UnaryNot unot) |
CTripleSet |
TRExp(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.42 von Martin Pl�micke
Achtung Workaround: Wenn die BaseTypes endlich korrekt implementiert sind, dann sollte der RefType "Boolean" �berall durch den BaseType "BooleanType" ersetzt werden!!! |
CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData) |
ConstraintsSet |
TYPEExpr(TypeAssumptions assumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist,
de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters) |
addOffsetsToStatement, get_Name_Menge, get_Type_Menge, get_UsedId, set_Type, set_UsedId, TRMultiply, TRTuple, TYPEStmt
getType, getTypeLineNumber, getTypeName
getOffset, getTypeInformation, getTypeVariable, getVariableLength, replaceType, setType, setTypeVariable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
replaceType
public Expr expr
public void sc_check(de.dhbwstuttgart.typeinference.Menge<Class> classname, java.util.Hashtable ch, java.util.Hashtable<java.lang.String,java.lang.String> bh, boolean ext, java.util.Hashtable parach, java.util.Hashtable<java.lang.String,java.util.Hashtable> parabh) throws SCStatementException
sc_check
in class Expr
SCStatementException
public Expr get_Expr()
public void set_UnaryNot(UnaryNot unot)
public void set_Expr(Expr ex)
public void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
codegen
in class UnaryExpr
JVMCodeException
public void not_codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
JVMCodeException
public CTripleSet TRExp(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
TRStatement
in class Statement
public void wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist, de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters)
wandleRefTypeAttributes2GenericAttributes
in class Statement
public void addOffsetsToExpression(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
addOffsetsToExpression
in class Expr
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions)
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement