- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
public WarningDtoImpl(org.eclipse.che.api.workspace.shared.dto.WarningDto origin) { this.message = origin.getMessage(); this.code = origin.getCode(); }
/** Converts {@link Warning} to {@link WarningDto}. */ public static WarningDto asDto(Warning warning) { return newDto(WarningDto.class).withCode(warning.getCode()).withMessage(warning.getMessage()); }