package de.dhbwstuttgart.strucTypes;

import de.dhbwstuttgart.syntaxtree.ClassOrInterface;
import de.dhbwstuttgart.syntaxtree.Method;

/*
 * TypeVariable for the Return Type of the Method m in class A; 
 */


public class TV_ReturnTyp extends TV_Abstract {

	ClassOrInterface cl; 
	Method m; 
	
	
	public TV_ReturnTyp(ClassOrInterface cl, Method m) {
		this.cl = cl; 
		this.m = m; 
	}
	
	
	
	public String to_String() {
		return String.format("gamma( %s , %s ) ", cl.getClassName() , m.getName());	
	}
	
	
	
	
	
	
	
	
	
	
	
}
