package burp;


import java.util.List;
import com.google.gson.Gson;

public class BFakeScannerForMessage implements IScannerCheck {

    public static EventServer wss;
    public IBurpExtenderCallbacks callbacks;
    public Gson gson;

    public BFakeScannerForMessage(IBurpExtenderCallbacks callbacks, EventServer wss) {
        this.wss = wss;
        this.callbacks = callbacks;
        gson = new Gson();
    }

    //@Override
    public List<IScanIssue> doPassiveScan(IHttpRequestResponse baseRequestResponse) {
        BHttpRequestResponse bhttpRequestResponse = BHttpRequestResponseFactory.create(baseRequestResponse,
                callbacks, callbacks.getHelpers());
        wss.sendToAll(gson.toJson(bhttpRequestResponse));
        return null;
    }

   // @Override
    public List<IScanIssue> doActiveScan(IHttpRequestResponse baseRequestResponse, IScannerInsertionPoint insertionPoint) {
        return null;
    }

   // @Override
    public int consolidateDuplicateIssues(IScanIssue existingIssue, IScanIssue newIssue) {
        return 0;
    }
}

@@ -135,20 +135,14 @@
    p
-ublic static
+rivate
  Eve
@@ -160,21 +160,22 @@
 s;%0A    p
-ublic
+rivate
  IBurpEx
@@ -206,21 +206,22 @@
 s;%0A    p
-ublic
+rivate
  Gson gs

Change variable to private