github.com/thommil/tge-mobile@v0.0.0-20190308225214-66a08abd51aa/bind/testdata/ignore.java.golden (about)

     1  // Java class ignore.S is a proxy for talking to a Go program.
     2  //   gobind -lang=java ignore
     3  //
     4  // File is generated by gobind. Do not edit.
     5  package ignore;
     6  
     7  import go.Seq;
     8  
     9  public final class S implements Seq.Proxy, I {
    10      static { Ignore.touch(); }
    11      
    12      private final int refnum;
    13      
    14      @Override public final int incRefnum() {
    15            Seq.incGoRef(refnum, this);
    16            return refnum;
    17      }
    18      
    19      S(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
    20      
    21      public S() { this.refnum = __New(); Seq.trackGoRef(refnum, this); }
    22      
    23      private static native int __New();
    24      
    25      // skipped field S.F with unsupported type: interface{}
    26      
    27      // skipped method S.Argument with unsupported parameter or return types
    28      
    29      // skipped method S.Result with unsupported parameter or return types
    30      
    31      @Override public boolean equals(Object o) {
    32          if (o == null || !(o instanceof S)) {
    33              return false;
    34          }
    35          S that = (S)o;
    36          // skipped field S.F with unsupported type: interface{}
    37          
    38          return true;
    39      }
    40      
    41      @Override public int hashCode() {
    42          return java.util.Arrays.hashCode(new Object[] {});
    43      }
    44      
    45      @Override public String toString() {
    46          StringBuilder b = new StringBuilder();
    47          b.append("S").append("{");
    48          return b.append("}").toString();
    49      }
    50  }
    51  
    52  // Java class ignore.I is a proxy for talking to a Go program.
    53  //   gobind -lang=java ignore
    54  //
    55  // File is generated by gobind. Do not edit.
    56  package ignore;
    57  
    58  import go.Seq;
    59  
    60  public interface I {
    61      // skipped method I.Argument with unsupported parameter or return types
    62      
    63      // skipped method I.Result with unsupported parameter or return types
    64      
    65      
    66  }
    67  
    68  // Java class ignore.Ignore is a proxy for talking to a Go program.
    69  //   gobind -lang=java ignore
    70  //
    71  // File is generated by gobind. Do not edit.
    72  package ignore;
    73  
    74  import go.Seq;
    75  
    76  public abstract class Ignore {
    77      static {
    78          Seq.touch(); // for loading the native library
    79          _init();
    80      }
    81      
    82      private Ignore() {} // uninstantiable
    83      
    84      // touch is called from other bound packages to initialize this package
    85      public static void touch() {}
    86      
    87      private static native void _init();
    88      
    89      private static final class proxyI implements Seq.Proxy, I {
    90          private final int refnum;
    91          
    92          @Override public final int incRefnum() {
    93                Seq.incGoRef(refnum, this);
    94                return refnum;
    95          }
    96          
    97          proxyI(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
    98          
    99          // skipped method I.Argument with unsupported parameter or return types
   100          
   101          // skipped method I.Result with unsupported parameter or return types
   102          
   103      }
   104      
   105      // skipped const Cuint with unsupported type: uint
   106      
   107      // skipped const Cuint32 with unsupported type: uint32
   108      
   109      // skipped const Cuint64 with unsupported type: uint64
   110      
   111      // skipped const NamedConst with unsupported type: ignore.NamedString
   112      
   113      
   114      // skipped variable C128 with unsupported type: complex128
   115      
   116      // skipped variable C64 with unsupported type: complex64
   117      
   118      // skipped variable Uint with unsupported type: uint
   119      
   120      // skipped variable Uint32 with unsupported type: uint32
   121      
   122      // skipped variable Uint64 with unsupported type: uint64
   123      
   124      // skipped variable V with unsupported type: interface{}
   125      
   126      // skipped variable Var with unsupported type: interface{}
   127      
   128      // skipped function Argument with unsupported parameter or return types
   129      
   130      // skipped function Result with unsupported parameter or return types
   131      
   132  }