public class LocalVarDecl extends Statement implements ITypeReplacementListener
Constructor and Description |
---|
LocalVarDecl(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
boolean |
addOffsetsToStatement(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
void |
check_anz(Type type,
de.dhbwstuttgart.typeinference.Menge paralist,
de.dhbwstuttgart.typeinference.Menge<Class> classlist) |
void |
codegen(ClassFile classfile,
CodeAttribute code,
de.dhbwstuttgart.typeinference.Menge paralist) |
java.lang.String |
get_Name() |
de.dhbwstuttgart.typeinference.Menge<DeclId> |
getDeclidMenge() |
Type |
getDeclType() |
int |
getLineNumber()
Author: J�rg B�uerle |
int |
getOffset()
Author: Thomas Hornberger |
java.lang.String |
getTypeInformation() |
int |
getTypeLineNumber()
Author: J�rg B�uerle |
void |
is_declared(Type t,
de.dhbwstuttgart.typeinference.Menge<Class> classlist) |
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
replaceType(CReplaceTypeEvent e)
Author: J�rg B�uerle |
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_DeclId(DeclId did) |
void |
set_ParaList(de.dhbwstuttgart.typeinference.Menge pl) |
void |
setDeclidMenge(de.dhbwstuttgart.typeinference.Menge<DeclId> declid) |
void |
setDeclType(Type t) |
java.lang.String |
toString()
Author: Martin Pl�micke |
CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.24 von Martin Pl�micke
Author: J�rg B�uerle |
ConstraintsSet |
TYPEStmt(TypeAssumptions assumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist,
de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters) |
getTypeVariable, getVariableLength, setType, setTypeVariable
public Block block
public void setDeclType(Type t)
public Type getDeclType()
public void set_DeclId(DeclId did)
public java.lang.String get_Name()
public void set_ParaList(de.dhbwstuttgart.typeinference.Menge pl)
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
SCStatementException
public void is_declared(Type t, de.dhbwstuttgart.typeinference.Menge<Class> classlist) throws SCStatementException
SCStatementException
public void check_anz(Type type, de.dhbwstuttgart.typeinference.Menge paralist, de.dhbwstuttgart.typeinference.Menge<Class> classlist) throws SCStatementException
SCStatementException
public void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
codegen
in class Statement
JVMCodeException
public de.dhbwstuttgart.typeinference.Menge<DeclId> getDeclidMenge()
public void setDeclidMenge(de.dhbwstuttgart.typeinference.Menge<DeclId> declid)
public int getLineNumber()
public int getOffset()
getOffset
in interface IItemWithOffset
getOffset
in class Statement
public void replaceType(CReplaceTypeEvent e)
replaceType
in interface ITypeReplacementListener
replaceType
in class Statement
e
- public int getTypeLineNumber()
getTypeLineNumber
in interface ITypeReplacementListener
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
TRStatement
in class Statement
sigma
- V
- supportData
- 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 boolean addOffsetsToStatement(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
addOffsetsToStatement
in class Statement
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions)
public java.lang.String getTypeInformation()
getTypeInformation
in class Statement
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement