I have a simple class implementing IScriptBuilder and noticed, that it
is being called 4 times on full project rebuild by DLTK's ScriptBuilder.
First time - with correct list of ISourceModule's and
IScriptBuilder.FULL_BUILD status and 3 more times with
IScriptBuilder.FULL_BUILD (1 time) and IScriptBuilder.INCREMENTAL_BUILD
(2 times) with empty list of ISourceModule's.
Is it a bug and if it is not, how IScriptBuilder implementing class
could understand a state it is in - how to differentiate a case, when
all modules were removed from the project from a case when it is just
being called for some reasons from ScriptBuilder with empty list of files?