public @Nullable IStubFileElementType<?> getElementTypeForStubBuilder() {
    ParserDefinition definition = LanguageParserDefinitions.INSTANCE.forLanguage(getLanguage());
    IFileElementType type = definition == null ? null : definition.getFileNodeType();
    return type instanceof IStubFileElementType ? (IStubFileElementType<?>)type : null;
  }
public @Nullable IStubFileElementType<?> getElementTypeForStubBuilder()