Java Code Examples for com.intellij.util.io.VoidDataExternalizer#INSTANCE

The following examples show how to use com.intellij.util.io.VoidDataExternalizer#INSTANCE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StubProvidedIndexExtension.java    From consulo with Apache License 2.0 5 votes vote down vote up
@Nullable
public <K> ProvidedIndexExtension<K, Void> findProvidedStubIndex(@Nonnull StubIndexExtension<K, ?> extension) {
  String name = extension.getKey().getName();
  File path = getIndexPath();

  File indexPath = new File(path, StringUtil.toLowerCase(name));
  if (!indexPath.exists()) return null;

  return new ProvidedIndexExtension<K, Void>() {
    @Nonnull
    @Override
    public File getIndexPath() {
      return myIndexFile;
    }

    @Nonnull
    @Override
    public ID<K, Void> getIndexId() {
      return (ID)extension.getKey();
    }

    @Nonnull
    @Override
    public KeyDescriptor<K> createKeyDescriptor() {
      return extension.getKeyDescriptor();
    }

    @Nonnull
    @Override
    public DataExternalizer<Void> createValueExternalizer() {
      return VoidDataExternalizer.INSTANCE;
    }
  };
}
 
Example 2
Source File: PhpTemplateUsageStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 3
Source File: SmartyBlockStubIndex.java    From idea-php-shopware-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 4
Source File: TwigControllerStubIndex.java    From idea-php-symfony2-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 5
Source File: VcsLogMessagesTrigramIndex.java    From consulo with Apache License 2.0 4 votes vote down vote up
public VcsLogMessagesTrigramIndex(@Nonnull String logId,
                                  @Nonnull FatalErrorHandler fatalErrorHandler,
                                  @Nonnull Disposable disposableParent) throws IOException {
  super(logId, TRIGRAMS, getVersion(), new TrigramMessageIndexer(), VoidDataExternalizer.INSTANCE,
        fatalErrorHandler, disposableParent);
}
 
Example 6
Source File: EventConfigGoToIndex.java    From idea-php-shopware-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 7
Source File: BladeEachStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 8
Source File: BladeStackStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 9
Source File: ConfigKeyStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 10
Source File: RouteIndexExtension.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 11
Source File: BladeYieldStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 12
Source File: BladeExtendsStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 13
Source File: BladeCustomDirectivesStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 14
Source File: MenuIndex.java    From idea-php-drupal-symfony2-bridge with MIT License 4 votes vote down vote up
@NotNull
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 15
Source File: TranslationKeyStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 16
Source File: BladeSectionStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 17
Source File: EnvironmentVariablesIndex.java    From idea-php-dotenv-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 18
Source File: RouteValStubIndex.java    From Thinkphp5-Plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 19
Source File: TwigExtendsStubIndex.java    From idea-php-symfony2-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}
 
Example 20
Source File: ControllerStubIndex.java    From Thinkphp5-Plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<Void> getValueExternalizer() {
    return VoidDataExternalizer.INSTANCE;
}