public class LocalOrFieldVar extends Expr
Constructor and Description |
---|
LocalOrFieldVar(int offset,
int variableLength) |
LocalOrFieldVar(java.lang.String n,
int offset) |
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) |
java.lang.String |
get_Name() |
java.lang.String |
getTypeInformation() |
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_UsedId(UsedId u) |
java.lang.String |
toString()
Author: Martin Pl�micke |
CTripleSet |
TRExp(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.37 von Martin Pl�micke
Author: J�rg B�uerle |
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, TRMultiply, TRTuple, TYPEStmt
getType, getTypeLineNumber, getTypeName
getOffset, getTypeVariable, getVariableLength, replaceType, setType, setTypeVariable
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
replaceType
public LocalOrFieldVar(int offset, int variableLength)
public LocalOrFieldVar(java.lang.String n, int offset)
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 void set_UsedId(UsedId u)
set_UsedId
in class Expr
public void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
codegen
in class Statement
JVMCodeException
public CTripleSet TRExp(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
TRStatement
in class Statement
public java.lang.String toString()
toString
in class java.lang.Object
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 getTypeInformation()
getTypeInformation
in class Statement
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement