Constraint Type gelöscht

This commit is contained in:
JanUlrich 2015-06-16 14:22:13 +02:00
parent 76b575fedc
commit 62a1a9b871
2 changed files with 0 additions and 27 deletions

View File

@ -19,7 +19,6 @@ import de.dhbwstuttgart.syntaxtree.type.GenericTypeVar;
import de.dhbwstuttgart.syntaxtree.type.Type;
import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder;
import de.dhbwstuttgart.syntaxtree.type.Void;
import de.dhbwstuttgart.typeinference.ConstraintType;
import de.dhbwstuttgart.typeinference.ConstraintsSet;
import de.dhbwstuttgart.typeinference.JavaCodeResult;
import de.dhbwstuttgart.typeinference.ResultSet;
@ -143,7 +142,6 @@ public class Block extends Statement
for(int i=0;i<statements.size();i++){
statements.elementAt(i).wandleRefTypeAttributes2GenericAttributes(paralist,genericMethodParameters);
}
}
// ino.end

View File

@ -1,25 +0,0 @@
package de.dhbwstuttgart.typeinference;
import de.dhbwstuttgart.syntaxtree.type.*;
import de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions;
public class ConstraintType{
private Type t;
public ConstraintType(TypePlaceholder t){
this.t = t;
}
public ConstraintType(GenericTypeVar t){
this.t = t;
}
public ConstraintType(RefType t){
this.t = t;
}
public ConstraintType(WildcardType t){
this.t = t;
}
public Type getType() {
return t;
}
}