package de.dhbwstuttgart.strucTypes3;

import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPHOrWildcardOrGeneric;

public class MyTypeVar {

	private String method_name; 
	private Integer index_Argument; 
	private RefTypeOrTPHOrWildcardOrGeneric typevar;
	
	public MyTypeVar(String method_name, Integer index_Argument, RefTypeOrTPHOrWildcardOrGeneric typevar) {
		super();
		this.method_name = method_name;
		this.index_Argument = index_Argument;
		this.typevar = typevar;
	}
	
	

	public String getMethod_name() {
		return method_name;
	}

	public void setMethod_name(String method_name) {
		this.method_name = method_name;
	}

	public Integer getIndex_Argument() {
		return index_Argument;
	}

	public void setIndex_Argument(Integer index_Argument) {
		this.index_Argument = index_Argument;
	}

	public RefTypeOrTPHOrWildcardOrGeneric getTypevar() {
		return typevar;
	}

	public void setTypevar(RefTypeOrTPHOrWildcardOrGeneric typevar) {
		this.typevar = typevar;
	} 

	public String toString() {
		return String.format("TypVar?( %s , %s , %s )"  , method_name , index_Argument , typevar ); 		
	}
	
	
	
	
	
	
}
