package de.dhbwstuttgart.target.generate; import de.dhbwstuttgart.syntaxtree.ClassOrInterface; import de.dhbwstuttgart.syntaxtree.Method; import de.dhbwstuttgart.typeinference.result.ResultSet; import java.util.Set; final class TxGenerics extends GenerateGenerics { TxGenerics(ASTToTargetAST astToTargetAST, ResultSet constraints) { super(astToTargetAST, constraints); } @Override void generics(ClassOrInterface owner, Method method, Set result, Set referenced) { eliminateInfima(result, referenced); eliminateInnerTypeVariables(referenced, result); } @Override void generics(ClassOrInterface classOrInterface, Set result, Set referenced) { eliminateInfima(result, referenced); eliminateInnerTypeVariablesOfClass(classOrInterface, result, referenced); } }