@Test public void defaults() throws IOException { OpenOptions options = OpenOptions.defaults(); assertEquals(0, options.getOffset()); }
public static OpenOptions defaults() { return new OpenOptions(); }
OpenOptions { public static OpenOptions defaults() { return new OpenOptions(); } }
OpenOptions { public static OpenOptions defaults() { return new OpenOptions(); } private  OpenOptions(); }
OpenOptions { public static OpenOptions defaults() { return new OpenOptions(); } private  OpenOptions(); static OpenOptions defaults(); long getOffset(); long getLength(); boolean getRecoverFailedOpen(); boolean getPositionShort(); OpenOptions setOffset(long offset); OpenOptions setLength(long length); OpenOptions setRecoverFailedOpen(boolean recover); OpenOptions setPositionShort(boolean positionShort); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
OpenOptions { public static OpenOptions defaults() { return new OpenOptions(); } private  OpenOptions(); static OpenOptions defaults(); long getOffset(); long getLength(); boolean getRecoverFailedOpen(); boolean getPositionShort(); OpenOptions setOffset(long offset); OpenOptions setLength(long length); OpenOptions setRecoverFailedOpen(boolean recover); OpenOptions setPositionShort(boolean positionShort); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }