The private constructor of TaskHelper.PluginsHelper takes a String argument, which is never being used at runtime. Only call site seems to be TaskHelper.OptionsHelper.handleOptions() which passes a null argument. As a result static method createPluginsLayer() is dead too.