// by the ENABLE_CACHE value, but Eclipse does not recognise "deadCode".
@SuppressWarnings("all")
public void instantiateDoodadInHTML(
final HTML target, final PluginContext pluginContext, final String url) {
if (ENABLE_CACHE && cache.containsKey(url)) {
SchedulerInstance.getMediumPriorityTimer().schedule(new Task() {
@Override
public void execute() {
// Use isAttached as a cheap approximation of doodad still being active.
if (target.isAttached()) {
appendToDocument(target, pluginContext, cache.get(url));