final ReportRenderContext reportRenderContext,
final InspectionResultListener resultHandler,
final String[] columnNames,
final ReportElement element)
{
final ElementMetaData elementMetaData = element.getMetaData();
if (elementMetaData.getCompatibilityLevel() > compatibilityLevel)
{
// warn: ReportMigrationInspection.ElementInvalid
resultHandler.notifyInspectionResult(new InspectionResult(this, InspectionResult.Severity.WARNING,
Messages.getString("ReportMigrationInspection.ElementInvalid",
element.getName(), compatibilityText), new LocationInfo(element)));
}
for (final AttributeMetaData attributeMetaData : elementMetaData.getAttributeDescriptions())
{
if (attributeMetaData.getCompatibilityLevel() > compatibilityLevel)
{
resultHandler.notifyInspectionResult(new InspectionResult(this, InspectionResult.Severity.WARNING,
Messages.getString("ReportMigrationInspection.AttributeInvalid",