@Test public void testToString() { final String defaultToString = restResource.getClass().getName() + '@' + Integer.toHexString(restResource.hashCode()); assertThat(restResource.toString(), not(equalTo(defaultToString))); assertNotNull(restResource.toString()); }
@Override public String toString() { return "RestResource{" + "gson=" + gson + ", resource='" + resource + '\'' + ", clazz=" + clazz + ", hostAndPort='" + hostAndPort + '\'' + ", elementsKey='" + elementsKey + '\'' + ", listTypeToken=" + listTypeToken + '}'; }
RestResource { @Override public String toString() { return "RestResource{" + "gson=" + gson + ", resource='" + resource + '\'' + ", clazz=" + clazz + ", hostAndPort='" + hostAndPort + '\'' + ", elementsKey='" + elementsKey + '\'' + ", listTypeToken=" + listTypeToken + '}'; } }
RestResource { @Override public String toString() { return "RestResource{" + "gson=" + gson + ", resource='" + resource + '\'' + ", clazz=" + clazz + ", hostAndPort='" + hostAndPort + '\'' + ", elementsKey='" + elementsKey + '\'' + ", listTypeToken=" + listTypeToken + '}'; } RestResource(@NonNull final String resource, @NonNull final Class<T> clazz,
					@NonNull final Gson gson); }
RestResource { @Override public String toString() { return "RestResource{" + "gson=" + gson + ", resource='" + resource + '\'' + ", clazz=" + clazz + ", hostAndPort='" + hostAndPort + '\'' + ", elementsKey='" + elementsKey + '\'' + ", listTypeToken=" + listTypeToken + '}'; } RestResource(@NonNull final String resource, @NonNull final Class<T> clazz,
					@NonNull final Gson gson); Request<T> getObject(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener); Request<T> getObject(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<T> getObject(@NonNull final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener); Request<T> getObject(@NonNull final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<List<T>> listener,
					@Nullable final ErrorListener errListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<List<T>> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
						@Nullable final Listener<List<T>> listener,
						@Nullable final ErrorListener errListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
					@Nullable final Listener<List<T>> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<T> saveObject(@SaveMethod final int method,
						@Nullable final Map<String, String> resourceParams,
						@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
						@NonNull final T object); Request<T> saveObject(@SaveMethod final int method,
					@Nullable final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener,
					@NonNull final T object); Request<T> saveObject(@SaveMethod final int method,
					@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener,
					@NonNull final T object); Request<T> saveObject(@SaveMethod final int method,
						@Nullable final Map<String, String> resourceParams,
						@Nullable final Map<String, String> queryParams,
						@Nullable final Listener<T> listener,
						@Nullable final ErrorListener errListener,
						@Nullable final CancelListener cancelListener, @NonNull final T object); Request<T> deleteObject(@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener); Request<T> deleteObject(@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<T> deleteObject(@Nullable final Map<String, String> resourceParams,
						@Nullable final Listener<T> listener,
						@Nullable final ErrorListener errListener); Request<T> deleteObject(@Nullable final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); void setElementsKey(@NonNull final String elementsKey); @Override String toString(); }
RestResource { @Override public String toString() { return "RestResource{" + "gson=" + gson + ", resource='" + resource + '\'' + ", clazz=" + clazz + ", hostAndPort='" + hostAndPort + '\'' + ", elementsKey='" + elementsKey + '\'' + ", listTypeToken=" + listTypeToken + '}'; } RestResource(@NonNull final String resource, @NonNull final Class<T> clazz,
					@NonNull final Gson gson); Request<T> getObject(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener); Request<T> getObject(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<T> getObject(@NonNull final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener); Request<T> getObject(@NonNull final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<List<T>> listener,
					@Nullable final ErrorListener errListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<List<T>> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
						@Nullable final Listener<List<T>> listener,
						@Nullable final ErrorListener errListener); Request<List<T>> getAll(@Nullable final Map<String, String> resourceParams,
					@Nullable final Listener<List<T>> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<T> saveObject(@SaveMethod final int method,
						@Nullable final Map<String, String> resourceParams,
						@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
						@NonNull final T object); Request<T> saveObject(@SaveMethod final int method,
					@Nullable final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener,
					@NonNull final T object); Request<T> saveObject(@SaveMethod final int method,
					@Nullable final Map<String, String> resourceParams,
					@Nullable final Map<String, String> queryParams,
					@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener,
					@NonNull final T object); Request<T> saveObject(@SaveMethod final int method,
						@Nullable final Map<String, String> resourceParams,
						@Nullable final Map<String, String> queryParams,
						@Nullable final Listener<T> listener,
						@Nullable final ErrorListener errListener,
						@Nullable final CancelListener cancelListener, @NonNull final T object); Request<T> deleteObject(@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener); Request<T> deleteObject(@Nullable final Listener<T> listener,
					@Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); Request<T> deleteObject(@Nullable final Map<String, String> resourceParams,
						@Nullable final Listener<T> listener,
						@Nullable final ErrorListener errListener); Request<T> deleteObject(@Nullable final Map<String, String> resourceParams,
					@Nullable final Listener<T> listener, @Nullable final ErrorListener errListener,
					@Nullable final CancelListener cancelListener); void setElementsKey(@NonNull final String elementsKey); @Override String toString();  }