builder.delegateCur(json.delegateCur); return builder.build();
/** * Creates an immutable copy of a {@link Member} value. * Uses accessors to get values to initialize the new immutable instance. * If an instance is already immutable, it is returned as is. * @param instance The instance to copy * @return A copied immutable Member instance */ public static ImmutableMember copyOf(Member instance) { if (instance instanceof ImmutableMember) { return (ImmutableMember) instance; } return ImmutableMember.builder() .from(instance) .build(); }