@Test public void checkFactory() { final CouchbaseLiteOrm orm = CouchbaseLiteOrm.newInstance(); ASSERT.that(orm).isInstanceOf(CouchbaseLiteOrmInternal.class); }
public static CouchbaseLiteOrm newInstance() { final CouchbaseLiteOrm instance; try { Class<?> a = Class.forName("com.braisgabin.couchbaseliteorm.CouchbaseLiteOrmInternal"); instance = (CouchbaseLiteOrm) a.newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { throw new RuntimeException(e); } return instance; }
CouchbaseLiteOrm { public static CouchbaseLiteOrm newInstance() { final CouchbaseLiteOrm instance; try { Class<?> a = Class.forName("com.braisgabin.couchbaseliteorm.CouchbaseLiteOrmInternal"); instance = (CouchbaseLiteOrm) a.newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { throw new RuntimeException(e); } return instance; } }
CouchbaseLiteOrm { public static CouchbaseLiteOrm newInstance() { final CouchbaseLiteOrm instance; try { Class<?> a = Class.forName("com.braisgabin.couchbaseliteorm.CouchbaseLiteOrmInternal"); instance = (CouchbaseLiteOrm) a.newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { throw new RuntimeException(e); } return instance; } CouchbaseLiteOrm(); }
CouchbaseLiteOrm { public static CouchbaseLiteOrm newInstance() { final CouchbaseLiteOrm instance; try { Class<?> a = Class.forName("com.braisgabin.couchbaseliteorm.CouchbaseLiteOrmInternal"); instance = (CouchbaseLiteOrm) a.newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { throw new RuntimeException(e); } return instance; } CouchbaseLiteOrm(); static CouchbaseLiteOrm newInstance(); T toObject(Document document); Document toDocument(T object, Document document); Map<String, Object> toProperties(T object); }
CouchbaseLiteOrm { public static CouchbaseLiteOrm newInstance() { final CouchbaseLiteOrm instance; try { Class<?> a = Class.forName("com.braisgabin.couchbaseliteorm.CouchbaseLiteOrmInternal"); instance = (CouchbaseLiteOrm) a.newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { throw new RuntimeException(e); } return instance; } CouchbaseLiteOrm(); static CouchbaseLiteOrm newInstance(); T toObject(Document document); Document toDocument(T object, Document document); Map<String, Object> toProperties(T object);  }