Added getType() method to get IType from class files