package xsbti;

/** Used to pass a pair of values. */
public class T2<A1, A2> {
  public final A1 _1;
  public final A2 _2;

  public T2(A1 a1, A2 a2) {
    this._1 = a1;
    this._2 = a2;
  }
 }

@@ -58,13 +58,17 @@
 lic 
-class
+interface
  T2%3C
@@ -74,17 +74,17 @@
 %3CA1, A2%3E
- 
+%0A
 %7B%0A  publ
@@ -90,111 +90,37 @@
 lic 
-final A1 _1;%0A  public final A2 _2;%0A%0A  public T2(A1 a1, A2 a2) %7B%0A    this._1 = a1;%0A    this._2 = a2;%0A  %7D%0A 
+A1 get1();%0A  public A2 get2();%0A
 %7D%0A

Define T2 as an interface.