public class Block extends Statement
Modifier and Type | Field and Description |
---|---|
java.util.Vector<Statement> |
statements |
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
void |
addOffsetsToAssumption(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
boolean |
addOffsetsToStatement(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
void |
codegen(ClassFile classfile,
CodeAttribute code,
java.util.Vector paralist) |
java.util.Vector<Statement> |
get_Statement() |
java.lang.String |
getTypeInformation() |
int |
getTypeLineNumber()
Gibt die Zeilennummer zur�ck, in der eine
TypePlaceholder
angelegt worden ist. |
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
replaceType(CReplaceTypeEvent e)
Tauscht einen Typ gegen einen anderen aus.
|
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_Statement_Vector(java.util.Vector<Statement> v) |
void |
set_Statement(Statement s) |
java.lang.String |
toString()
Author: Martin Pl�micke |
CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.20 von Martin Pl�micke
Author: J�rg B�uerle |
CTripleSet |
TRStatements(CSubstitutionSet sigma,
CTypeAssumptionSet V,
java.util.Vector<Statement> statementList,
int index,
CTypeAssumptionSet V_start,
CSupportData supportData)
Implementierung des Algorithmus 5.19 von Martin Pl�micke
Author: J�rg B�uerle |
ConstraintsSet |
TYPEStmt(TypeAssumptions assumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist,
java.util.Vector<GenericTypeVar> genericMethodParameters)
In allen lokalen Variablendeklarationen die "falschen" RefTypes ersetzen
|
getOffset, getTypeVariable, getVariableLength, setType, setTypeVariable
public java.util.Vector<Statement> statements
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
SCStatementException
public java.util.Vector<Statement> get_Statement()
public void set_Statement(Statement s)
public void set_Statement_Vector(java.util.Vector<Statement> v)
public void codegen(ClassFile classfile, CodeAttribute code, java.util.Vector paralist) throws JVMCodeException
codegen
in class Statement
JVMCodeException
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData) throws CTypeReconstructionException
TRStatement
in class Statement
sigma
- V
- supportData
- CTypeReconstructionException
public CTripleSet TRStatements(CSubstitutionSet sigma, CTypeAssumptionSet V, java.util.Vector<Statement> statementList, int index, CTypeAssumptionSet V_start, CSupportData supportData) throws CTypeReconstructionException
sigma
- V
- statementList
- index
- V_start
- supportData
- CTypeReconstructionException
public java.lang.String toString()
toString
in class java.lang.Object
public void wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist, java.util.Vector<GenericTypeVar> genericMethodParameters)
wandleRefTypeAttributes2GenericAttributes
in class Statement
paralist
- genericMethodParameters
- public void addOffsetsToAssumption(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
public boolean addOffsetsToStatement(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
addOffsetsToStatement
in class Statement
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions)
public void replaceType(CReplaceTypeEvent e)
ITypeReplacementListener
replaceType
in interface ITypeReplacementListener
replaceType
in class Statement
e
- Das Event mit dem neuen Typpublic java.lang.String getTypeInformation()
getTypeInformation
in class Statement
public int getTypeLineNumber()
ITypeReplacementListener
TypePlaceholder
angelegt worden ist.
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement