@Override
  public final CommonProblemDescriptor @Nullable [] checkElement(@NotNull RefEntity refEntity,
                                                                 @NotNull AnalysisScope scope,
                                                                 @NotNull InspectionManager manager,
                                                                 @NotNull GlobalInspectionContext globalContext,
                                                                 @NotNull ProblemDescriptionsProcessor processor) {
    if (refEntity instanceof RefPackage) {
      return checkPackage((RefPackage)refEntity, scope, manager, globalContext);
    }
    return null;
  }
@Override
  public final CommonProblemDescriptor @Nullable [] checkElement(@NotNull RefEntity refEntity,
                                                                 @NotNull AnalysisScope scope,
                                                                 @NotNull InspectionManager manager,
                                                                 @NotNull GlobalInspectionContext globalContext,
                                                                 @NotNull ProblemDescriptionsProcessor processor)