modified: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/FamilyOfGeneratedGenerics.java

This commit is contained in:
AluAli 2020-10-29 19:43:50 +01:00
parent d677d053d6
commit c86fe95da5

View File

@ -7,12 +7,8 @@ import de.dhbwstuttgart.bytecode.constraint.TPHConstraint.Relation;
import java.util.ArrayList;
import java.util.List;
public class FamilyOfGeneratedGenerics { // extends TPHConstraint?
// private TPHExtractor tphExtractor = new TPHExtractor();
public List<TPHConstraint> cs; //alle Constraints bekommen wie?
// public FamilyOfGeneratedGenerics(List<TPHConstraint> cs) {
// this.cs = cs;
// }
public class FamilyOfGeneratedGenerics {
public List<TPHConstraint> cs;
public List<ClassConstraint> cs_cl;
public List<MethodConstraint> cs_m;
@ -21,29 +17,8 @@ public class FamilyOfGeneratedGenerics { // extends TPHConstraint?
cs_cl = new ArrayList<ClassConstraint>();
cs_m = new ArrayList<MethodConstraint>();
}
public void printCs() {
System.out.println(cs);
System.out.println(cs);
System.out.println("-----------------------------------------------------------------------------");
}
// public String getLeftSideOfConstraint(TPHConstraint constraint) {
// if(constraint.getRel() == Relation.EXTENDS)
// return constraint.getLeft();
// return null;
// }
//
// public String getRightSideOfConstraint(TPHConstraint constraint) {
// if(constraint.getRel() == Relation.EXTENDS)
// return constraint.getRight();
// return null;
// }
public List<TPHConstraint> getCs() {
return cs;
}
// public List<ClassConstraint,MethodConstraint> getFamilyOfGeneratedGenerics(){
// public List<ClassConstraint,MethodConstraint> getFamilyOfGeneratedGenerics(){
//
// }