package com.github.liucijus.jinsist.mock;

public class Returns<ReturnType, MockType> {
    private StubCall<ReturnType, MockType> call;
    private Mock<MockType> mock;

    public Returns(StubCall<ReturnType, MockType> call, Mock<MockType> mock) {
        this.call = call;
        this.mock = mock;
    }

    public void returns(ReturnType output) {
        call.recordStub(mock.setupInstanceWithResult(output));
    }
}

@@ -168,23 +168,16 @@
 k;%0A%0A    
-public 
 Returns(

Remove public modifier