@Override public @Nullable Map<String, JsonObject> methodWithNullableMapJsonObjectReturn(boolean notNull) { if (notNull) { return map(new JsonObject().put("foo", "bar"), new JsonObject().put("juu", 3)); } else { return null; } }
@Override public @Nullable Map<String, Short> methodWithNullableMapShortReturn(boolean notNull) { if (notNull) { return map((short) 1, (short) 2, (short) 3); } else { return null; } }
@Override public @Nullable Map<String, Float> methodWithNullableMapFloatReturn(boolean notNull) { if (notNull) { return map(1.1f, 2.2f, 3.3f); } else { return null; } }
@Override public @Nullable Map<String, Integer> methodWithNullableMapIntegerReturn(boolean notNull) { if (notNull) { return map(1, 2, 3); } else { return null; } }
@Override public @Nullable Map<String, Float> methodWithNullableMapFloatReturn(boolean notNull) { if (notNull) { return map(1.1f, 2.2f, 3.3f); } else { return null; } }
@Override public @Nullable Map<String, JsonObject> methodWithNullableMapJsonObjectReturn(boolean notNull) { if (notNull) { return map(new JsonObject().put("foo", "bar"), new JsonObject().put("juu", 3)); } else { return null; } }
@Override public @Nullable Map<String, Long> methodWithNullableMapLongReturn(boolean notNull) { if (notNull) { return map(1L, 2L, 3L); } else { return null; } }
@Override public @Nullable Map<String, Double> methodWithNullableMapDoubleReturn(boolean notNull) { if (notNull) { return map(1.11d, 2.22d, 3.33d); } else { return null; } }
@Override public @Nullable Map<String, Boolean> methodWithNullableMapBooleanReturn(boolean notNull) { if (notNull) { return map(true, false, true); } else { return null; } }
@Override public @Nullable Map<String, Integer> methodWithNullableMapIntegerReturn(boolean notNull) { if (notNull) { return map(1, 2, 3); } else { return null; } }
@Override public @Nullable Map<String, Double> methodWithNullableMapDoubleReturn(boolean notNull) { if (notNull) { return map(1.11d, 2.22d, 3.33d); } else { return null; } }
@Override public @Nullable Map<String, Character> methodWithNullableMapCharReturn(boolean notNull) { if (notNull) { return map('x', 'y', 'z'); } else { return null; } }
@Override public @Nullable Map<String, Short> methodWithNullableMapShortReturn(boolean notNull) { if (notNull) { return map((short) 1, (short) 2, (short) 3); } else { return null; } }
@Override public @Nullable Map<String, Boolean> methodWithNullableMapBooleanReturn(boolean notNull) { if (notNull) { return map(true, false, true); } else { return null; } }
@Override public @Nullable Map<String, String> methodWithNullableMapStringReturn(boolean notNull) { if (notNull) { return map("first", "second", "third"); } else { return null; } }
@Override public @Nullable Map<String, Short> methodWithNullableMapShortReturn(boolean notNull) { if (notNull) { return map((short) 1, (short) 2, (short) 3); } else { return null; } }
@Override public @Nullable Map<String, Float> methodWithNullableMapFloatReturn(boolean notNull) { if (notNull) { return map(1.1f, 2.2f, 3.3f); } else { return null; } }
@Override public @Nullable Map<String, String> methodWithNullableMapStringReturn(boolean notNull) { if (notNull) { return map("first", "second", "third"); } else { return null; } }
@Override public @Nullable Map<String, JsonArray> methodWithNullableMapJsonArrayReturn(boolean notNull) { if (notNull) { return map(new JsonArray().add("foo").add("bar"), new JsonArray().add("juu")); } else { return null; } }
@Override public @Nullable Map<String, JsonArray> methodWithNullableMapJsonArrayReturn(boolean notNull) { if (notNull) { return map(new JsonArray().add("foo").add("bar"), new JsonArray().add("juu")); } else { return null; } }