setEnabledWarnings abstract method

void setEnabledWarnings(
  1. List<WarningType> warningTypes
)

Replaces the current set of enabled warning types with the provided list.

After this call, the engine will monitor and generate warnings only for types included in WarnerEngine.setEnabledWarnings.warningTypes.

  • warningTypes The complete new set of warning types the engine should track.

Implementation

void setEnabledWarnings(List<WarningType> warningTypes);