forked from JavaTX/JavaCompilerCore
fixed: Interfaces des selben Typs werden nur noch einmal generiert, auch wenn sie mehrfach in unterschiedlichen Constraints vorkommen.
This commit is contained in:
parent
ebacb72dcb
commit
3ed300268f
@ -2,7 +2,9 @@ package de.dhbwstuttgart.strucTypes;
|
|||||||
|
|
||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import org.antlr.v4.runtime.Token;
|
import org.antlr.v4.runtime.Token;
|
||||||
|
|
||||||
@ -29,7 +31,7 @@ public class Construct extends DefaultASTVisitor {
|
|||||||
|
|
||||||
private List<SubTypeConstraint> subTypeConstraints = new ArrayList<>();
|
private List<SubTypeConstraint> subTypeConstraints = new ArrayList<>();
|
||||||
private ConstraintsSet constraintsSet = new ConstraintsSet();
|
private ConstraintsSet constraintsSet = new ConstraintsSet();
|
||||||
private List<RefTypeOrTPHOrWildcardOrGeneric> newInterf = new ArrayList<>();
|
private Set<RefTypeOrTPHOrWildcardOrGeneric> newInterf = new HashSet<>();
|
||||||
private InferredTypes inferredTypes = new InferredTypes();
|
private InferredTypes inferredTypes = new InferredTypes();
|
||||||
private List<ClassOrInterface> constructedInterfaces = new ArrayList<>();
|
private List<ClassOrInterface> constructedInterfaces = new ArrayList<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user