JWShellExplorer shellExplorer = nativeShellExplorer == null? null: nativeShellExplorer.shellExplorer.get();
if(shellExplorer == null) {
return null;
}
Object[] listeners = nativeShellExplorer.listenerList.getListenerList();
ShellExplorerDocumentCompleteEvent e = null;
for(int i=listeners.length-2; i>=0; i-=2) {
if(listeners[i] == ShellExplorerListener.class) {
if(e == null) {
e = new ShellExplorerDocumentCompleteEvent(shellExplorer, (String)args[0]);
}
((ShellExplorerListener)listeners[i + 1]).documentComplete(e);
}
}
return null;