@Override
    public @NotNull List<InspectionsLevel> getAvailableLevels() {
      return inLibrary ?
               Arrays.asList(InspectionsLevel.NONE, InspectionsLevel.SYNTAX) :
             ApplicationManager.getApplication().isInternal() ?
               Arrays.asList(InspectionsLevel.NONE, InspectionsLevel.SYNTAX, InspectionsLevel.ESSENTIAL, InspectionsLevel.ALL) :
               Arrays.asList(InspectionsLevel.NONE, InspectionsLevel.SYNTAX, InspectionsLevel.ALL);
    }
@Override
    public @NotNull List<InspectionsLevel> getAvailableLevels()