/** * Creates a new instance. * * @param body body (content) of the generated result * @param executable {@code true} if the generated result should be specified as executable when * persisted to a file, {@code false} otherwise * @param <T> class which represents result body, usually {@code Doc} or {@code byte[]} */ public static <T> GeneratedResult<T> create(T body, boolean executable) { return new AutoValue_GeneratedResult<>(body, executable); }