}
catch (InterruptedException ex)
{
ex.printStackTrace();
}
throw new RuntimeException(new ActivityCompletedException("The parsing has finished. Nothing more needs to be done. The compilation is aborted."));
}
else if (! rootElements.isEmpty())
{
sourcecode = Trees.instance(processingEnv).getPath( rootElements.iterator().next());
try
{
parseException.put(new ActivityCompletedException("parsing ok"));//everything ok. Synchronize with the constructor.
}
catch(InterruptedException ex)
{
ex.printStackTrace();
}