@Nullable public static URI resolveIconUri(@Nonnull ApplicationType type) { checkNotNull(type, "type"); if (type instanceof IconizedType) { return ((IconizedType) type).getIconUri(); } else { return type.getIconUrl(); } }
@Nullable public static URI resolveIconUri(@Nonnull EntityType type) { checkNotNull(type, "type"); if (type instanceof IconizedType) { return ((IconizedType) type).getIconUri(); } else { return type.getIconUrl(); } }
@Nullable public static URI resolveIconUri(@Nonnull ApplicationType type) { checkNotNull(type, "type"); if (type instanceof IconizedType) { return ((IconizedType) type).getIconUri(); } else { return type.getIconUrl(); } }
@Nullable public static URI resolveIconUri(@Nonnull EntityType type) { checkNotNull(type, "type"); if (type instanceof IconizedType) { return ((IconizedType) type).getIconUri(); } else { return type.getIconUrl(); } }