@Override
    protected void initializeCPointer() {
        assert this.cPointer != 0;
        assert tracer != null;
        assert name != null;
        final int r = ppaml_phase_init(tracer.cPointer, this.cPointer, name);
        switch (r) {
        case 0:
            break;
        case -1:
            throw new java.lang.OutOfMemoryError(
                "failed to convert Java string to C string");
        case 1:
            throw new OTFWriterPhaseDefinitionException();
        default:
            throw new UnexpectedReturnValueError(r);
        }
    }