private Lookup getDefaultLookup() {
// The Lookup is not created in the constructor, so that we do not need
// to share "this" in the constructor.
Lookup result = defaultLookupRef.get();
if (result == null) {
GradleAuxiliaryConfiguration auxConfig = new GradleAuxiliaryConfiguration(this);
Lookup newLookup = Lookups.fixed(new Object[] {
this,
state, //allow outside code to mark the project as needing saving
NbGradleSingleProjectConfigProvider.create(this),