Java 类com.intellij.openapi.vfs.LocalFileOperationsHandler 实例源码

项目:tools-idea    文件:SvnFileSystemListenerWrapper.java   
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  if ("afterDone".equals(method.getName()) && args.length == 1) {
    ((ThrowableConsumer<LocalFileOperationsHandler, IOException>)args[0]).consume(myParentProxy);
    return null;
  }

  if (LocalFileOperationsHandler.class.equals(method.getDeclaringClass())) {
    myParent.register(method, args);
  }
  if ("equals".equals(method.getName())) {
    return args[0].equals(this);
  }
  else if ("hashCode".equals(method.getName())) {
    return 1;
  }
  return method.invoke(myDelegate, args);
}
项目:tools-idea    文件:SvnFileSystemListenerWrapper.java   
public SvnFileSystemListenerWrapper(final SvnFileSystemListener delegate) {
  final MyCommandListener listener = new MyCommandListener(delegate);
  myListener = listener;
  final MyStorage storage = new MyStorage(listener);
  myProxy = (LocalFileOperationsHandler) Proxy.newProxyInstance(LocalFileOperationsHandler.class.getClassLoader(),
                                   new Class<?>[]{LocalFileOperationsHandler.class}, new MyInvoker(storage, delegate));
}
项目:intellij-ce-playground    文件:MockLocalFileSystem.java   
@Override
public void registerAuxiliaryFileOperationsHandler(@NotNull final LocalFileOperationsHandler handler) {
}
项目:intellij-ce-playground    文件:MockLocalFileSystem.java   
@Override
public void unregisterAuxiliaryFileOperationsHandler(@NotNull final LocalFileOperationsHandler handler) {
}
项目:intellij-ce-playground    文件:SvnFileSystemListener.java   
public void afterDone(final ThrowableConsumer<LocalFileOperationsHandler, IOException> invoker) {
  if (!myIsInCommand && myGuessedProject != null) {
    commandFinished(myGuessedProject);
    myGuessedProject = null;
  }
}
项目:vso-intellij    文件:TFSFileSystemListener.java   
@Override
public void afterDone(final ThrowableConsumer<LocalFileOperationsHandler, IOException> throwableConsumer) {
    // nothing to do
}
项目:consulo-unity3d    文件:Unity3dLocalFileSystemComponent.java   
@Override
public void afterDone(ThrowableConsumer<LocalFileOperationsHandler, IOException> invoker)
{
}
项目:tools-idea    文件:MockLocalFileSystem.java   
@Override
public void registerAuxiliaryFileOperationsHandler(@NotNull final LocalFileOperationsHandler handler) {
}
项目:tools-idea    文件:MockLocalFileSystem.java   
@Override
public void unregisterAuxiliaryFileOperationsHandler(@NotNull final LocalFileOperationsHandler handler) {
}
项目:tools-idea    文件:SvnFileSystemListener.java   
public void afterDone(final ThrowableConsumer<LocalFileOperationsHandler, IOException> invoker) {
}
项目:tools-idea    文件:SvnFileSystemListenerWrapper.java   
private MyInvoker(final MyStorage parent, Object delegate) {
  myParent = parent;
  myDelegate = delegate;
  myParentProxy = (LocalFileOperationsHandler) Proxy.newProxyInstance(LocalFileOperationsHandler.class.getClassLoader(), 
                                         new Class<?>[]{LocalFileOperationsHandler.class}, myParent);
}
项目:consulo    文件:CompilerServerLocalFileSystemImpl.java   
@Override
public void registerAuxiliaryFileOperationsHandler(@Nonnull LocalFileOperationsHandler handler) {
}
项目:consulo    文件:CompilerServerLocalFileSystemImpl.java   
@Override
public void unregisterAuxiliaryFileOperationsHandler(@Nonnull LocalFileOperationsHandler handler) {
}
项目:consulo    文件:MockLocalFileSystem.java   
@Override
public void registerAuxiliaryFileOperationsHandler(@Nonnull final LocalFileOperationsHandler handler) {
}
项目:consulo    文件:MockLocalFileSystem.java   
@Override
public void unregisterAuxiliaryFileOperationsHandler(@Nonnull final LocalFileOperationsHandler handler) {
}
项目:intellij-ce-playground    文件:CvsFileOperationsHandler.java   
public void afterDone(final ThrowableConsumer<LocalFileOperationsHandler, IOException> invoker) {}
项目:tools-idea    文件:CvsFileOperationsHandler.java   
public void afterDone(final ThrowableConsumer<LocalFileOperationsHandler, IOException> invoker) {}