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

The following examples show how to use com.intellij.util.io.EnumeratorStringDescriptor#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: TestStateStorage.java    From consulo with Apache License 2.0 6 votes vote down vote up
@Nonnull
private static ThrowableComputable<PersistentHashMap<String, Record>, IOException> getComputable(final File file) {
  return () -> new PersistentHashMap<>(file, EnumeratorStringDescriptor.INSTANCE, new DataExternalizer<Record>() {
    @Override
    public void save(@Nonnull DataOutput out, Record value) throws IOException {
      out.writeInt(value.magnitude);
      out.writeLong(value.date.getTime());
      out.writeLong(value.configurationHash);
    }

    @Override
    public Record read(@Nonnull DataInput in) throws IOException {
      return new Record(in.readInt(), new Date(in.readLong()), in.readLong());
    }
  }, 4096, CURRENT_VERSION);
}
 
Example 2
Source File: TranslationKeyStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 3
Source File: FileIncludeIndex.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
  return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 4
Source File: ConfigKeyStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 5
Source File: RouteIndexExtension.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 6
Source File: FilenameIndexImpl.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
  return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 7
Source File: PhpInjectFileReferenceIndex.java    From idea-php-advanced-autocomplete with MIT License 4 votes vote down vote up
@NotNull
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 8
Source File: BladeExtendsStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 9
Source File: BladeCustomDirectivesStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 10
Source File: BladeIncludeStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 11
Source File: FileModuleIndex.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 12
Source File: BladeSectionStubIndex.java    From idea-php-laravel-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 13
Source File: GraphQLInjectionIndex.java    From js-graphql-intellij-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 14
Source File: SwaggerFileIndex.java    From intellij-swagger with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
  return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 15
Source File: OpenApiFileIndex.java    From intellij-swagger with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
  return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 16
Source File: TablenameFileIndex.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 17
Source File: IconIndex.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 18
Source File: ContainerParameterStubIndex.java    From idea-php-symfony2-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public DataExternalizer<String> getValueExternalizer() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 19
Source File: ResourcePathIndex.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}
 
Example 20
Source File: NamespaceIndex.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public KeyDescriptor<String> getKeyDescriptor() {
    return EnumeratorStringDescriptor.INSTANCE;
}