ThreeState (@NotNull FileType fileType) { if (getParserDefinition(fileType, fileType.toString()) == null) { BinaryFileStubBuilder builder = getBinaryStubBuilder(fileType); if (builder == null) return ThreeState.NO; VirtualFileFilter builderFileFilter = builder.getFileFilter(); if (builderFileFilter == VirtualFileFilter.ALL) return ThreeState.YES; if (builderFileFilter == VirtualFileFilter.NONE) return ThreeState.NO; } return ThreeState.UNSURE; }