324325326327328329330331332333334
tools.put(entry.getKey(), getToolByClass((Class<Tool>) objectClass)); } } if (!tools.containsKey("")) { Application app = Application.Static.getMain(); if (app instanceof Tool) { tools.put("", (Tool) app); } }