To keep the semantic compatibility in the background scan branch ParserResultTasks are not executed during the scan. But some of them, those running on local files, should be executed. To be able to mark those tasks to be executed a specialization of ParserResultTask allowing execution during scan was added - IndexingAwareParserResultTask. For JavaSourceTaskFactories constructors with TaskIndexingMode were added.
Created attachment 115024 [details]
Y01 I was hoping the change will introduce @annotation to eliminate dealing with layers. The TaskIndexingMode parameter would then be specified in the @annotation rather then passed to super class.
Y02 TaskIndexingMode is missing any meaningful javadoc
Y01: There is an annotation @MimeRegistration.
The factories are registered in the MimeLookup as any other services.
Fixed jet-main 41985eb45913