void (ProblemDescriptor @Nullable [] descriptors) { if (descriptors != null) { for (ProblemDescriptor descriptor : descriptors) { if (descriptor != null) { myHolder.registerProblem(descriptor); } else { Class<?> inspectionToolClass = LocalInspectionTool.this.getClass(); LOG.error(PluginException.createByClass( "Array returned from checkFile() method of " + inspectionToolClass + " contains null element: " + Arrays.toString(descriptors), null, inspectionToolClass)); } } } }