forked from JavaTX/JavaCompilerCore
Constraint Type gelöscht
This commit is contained in:
parent
76b575fedc
commit
62a1a9b871
@ -19,7 +19,6 @@ import de.dhbwstuttgart.syntaxtree.type.GenericTypeVar;
|
|||||||
import de.dhbwstuttgart.syntaxtree.type.Type;
|
import de.dhbwstuttgart.syntaxtree.type.Type;
|
||||||
import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder;
|
import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder;
|
||||||
import de.dhbwstuttgart.syntaxtree.type.Void;
|
import de.dhbwstuttgart.syntaxtree.type.Void;
|
||||||
import de.dhbwstuttgart.typeinference.ConstraintType;
|
|
||||||
import de.dhbwstuttgart.typeinference.ConstraintsSet;
|
import de.dhbwstuttgart.typeinference.ConstraintsSet;
|
||||||
import de.dhbwstuttgart.typeinference.JavaCodeResult;
|
import de.dhbwstuttgart.typeinference.JavaCodeResult;
|
||||||
import de.dhbwstuttgart.typeinference.ResultSet;
|
import de.dhbwstuttgart.typeinference.ResultSet;
|
||||||
@ -143,7 +142,6 @@ public class Block extends Statement
|
|||||||
for(int i=0;i<statements.size();i++){
|
for(int i=0;i<statements.size();i++){
|
||||||
statements.elementAt(i).wandleRefTypeAttributes2GenericAttributes(paralist,genericMethodParameters);
|
statements.elementAt(i).wandleRefTypeAttributes2GenericAttributes(paralist,genericMethodParameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// ino.end
|
// ino.end
|
||||||
|
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user