null);
}
private static ScriptHandle getScriptToLoad(EventNotification eventResponse,
V8ContextFilter contextFilter) {
AfterCompileBody body;
try {
body = eventResponse.body().asAfterCompileBody();
} catch (JsonProtocolParseException e) {
throw new RuntimeException(e);
}
ScriptHandle script = body.script();
if (V8Helper.JAVASCRIPT_VOID.equals(script.sourceStart()) ||
script.context() == null ||
V8ProtocolUtil.getScriptType(script.scriptType()) ==
Script.Type.NATIVE) {
return null;