remove rawtypes
This commit is contained in:
parent
11b63e0a5d
commit
c7f91724a6
@ -40,14 +40,15 @@ public class TestInferWildcardsJavaTx
|
||||
return visitor;
|
||||
}
|
||||
|
||||
private ConstraintSet getGeneratedConstraints (ReplaceTypeparamVisitor visitor) {
|
||||
private ConstraintSet<Pair> getGeneratedConstraints (ReplaceTypeparamVisitor visitor) {
|
||||
System.out.println("\nGenerated TPH:");
|
||||
Map<TypePlaceholder, RefType> tphMap = visitor.getTphMap();
|
||||
System.out.println(tphMap);
|
||||
return ConstraintsGenerationUtils.generateConstraints(tphMap);
|
||||
}
|
||||
|
||||
private ConstraintSet<Pair> combineConstraints (JavaTXCompiler javaTXCompiler, ConstraintSet generatedConstraints)
|
||||
private ConstraintSet<Pair> combineConstraints (JavaTXCompiler javaTXCompiler,
|
||||
ConstraintSet<Pair> generatedConstraints)
|
||||
throws ClassNotFoundException, IOException {
|
||||
System.out.println("\nGenerated Constraints:");
|
||||
ConstraintSet<Pair> constraints = javaTXCompiler.getConstraints();
|
||||
@ -67,7 +68,7 @@ public class TestInferWildcardsJavaTx
|
||||
ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler);
|
||||
|
||||
// Generate Constraints
|
||||
ConstraintSet generatedConstraints = getGeneratedConstraints(visitor);
|
||||
ConstraintSet<Pair> generatedConstraints = getGeneratedConstraints(visitor);
|
||||
// System.out.println(generatedConstraints);
|
||||
|
||||
// Constraints
|
||||
@ -87,7 +88,7 @@ public class TestInferWildcardsJavaTx
|
||||
ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler);
|
||||
|
||||
// Generate Constraints
|
||||
ConstraintSet generatedConstraints = getGeneratedConstraints(visitor);
|
||||
ConstraintSet<Pair> generatedConstraints = getGeneratedConstraints(visitor);
|
||||
// System.out.println(generatedConstraints);
|
||||
|
||||
// Constraints
|
||||
@ -103,7 +104,7 @@ public class TestInferWildcardsJavaTx
|
||||
ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler);
|
||||
|
||||
// Generate Constraints
|
||||
ConstraintSet generatedConstraints = getGeneratedConstraints(visitor);
|
||||
ConstraintSet<Pair> generatedConstraints = getGeneratedConstraints(visitor);
|
||||
// System.out.println(generatedConstraints);
|
||||
|
||||
// Constraints
|
||||
@ -119,7 +120,7 @@ public class TestInferWildcardsJavaTx
|
||||
ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler);
|
||||
|
||||
// Generate Constraints
|
||||
ConstraintSet generatedConstraints = getGeneratedConstraints(visitor);
|
||||
ConstraintSet<Pair> generatedConstraints = getGeneratedConstraints(visitor);
|
||||
// System.out.println(generatedConstraints);
|
||||
|
||||
// Constraints
|
||||
|
Loading…
Reference in New Issue
Block a user