Returns a StructOrError for the successfully converted data object.
(T struct)
| 28 | * Returns a {@link StructOrError} for the successfully converted data object. |
| 29 | */ |
| 30 | public static <T> StructOrError<T> fromStruct(T struct) { |
| 31 | return new StructOrError<>(struct); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Returns a {@link StructOrError} for the failure to convert the data object. |
no outgoing calls
no test coverage detected