public class NegativeExpr extends UnaryExpr
Constructor and Description |
---|
NegativeExpr(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,
java.util.Vector paralist) |
java.lang.String |
get_Name() |
void |
neg_codegen(ClassFile classfile,
CodeAttribute code,
java.util.Vector paralist) |
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
sc_check(java.util.Vector<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_UnaryMinus(UnaryMinus umin) |
CTripleSet |
TRExp(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.41 von Martin Pl�micke
Achtung Workaround: Wenn die BaseTypes endlich korrekt implementiert sind, dann sollte der RefType "Integer" �berall durch den BaseType "IntegerType" ersetzt werden!!! |
CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData) |
ConstraintsSet |
TYPEExpr(TypeAssumptions assumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist,
java.util.Vector<GenericTypeVar> genericMethodParameters) |
addOffsetsToStatement, get_Name_Vector, get_Type_Vector, 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(java.util.Vector<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 void set_UnaryMinus(UnaryMinus umin)
public void set_Expr(Expr ex)
public void codegen(ClassFile classfile, CodeAttribute code, java.util.Vector paralist) throws JVMCodeException
codegen
in class UnaryExpr
JVMCodeException
public void neg_codegen(ClassFile classfile, CodeAttribute code, java.util.Vector 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(java.util.Vector<Type> paralist, java.util.Vector<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