BrightSide Workbench Full Report + Source Code
org.turro.warnings.ElephantWarnings Class Reference

Static Public Member Functions

static List< IWarninggetWarningList ()
 
static List< IWarninggetWarningList (int max)
 
static List< IElephantWarninggetWarnings ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 30 of file ElephantWarnings.java.

Member Function Documentation

◆ getWarningList() [1/2]

static List<IWarning> org.turro.warnings.ElephantWarnings.getWarningList ( )
static

Definition at line 32 of file ElephantWarnings.java.

32  {
33  return getWarningList(-1);
34  }
static List< IWarning > getWarningList()
Here is the caller graph for this function:

◆ getWarningList() [2/2]

static List<IWarning> org.turro.warnings.ElephantWarnings.getWarningList ( int  max)
static

Definition at line 36 of file ElephantWarnings.java.

36  {
37  List<IWarning> warnings = new ArrayList<>();
38  for(IElephantWarning iew : ElephantWarnings.getWarnings()) {
39  warnings.addAll(iew.getWarnings());
40  if(max > -1 && warnings.size() > max) break;
41  }
42  return warnings;
43  }
Here is the call graph for this function:

◆ getWarnings()

static List<IElephantWarning> org.turro.warnings.ElephantWarnings.getWarnings ( )
static

Definition at line 45 of file ElephantWarnings.java.

45  {
46  return Instances.cached().byAnnotation(ElephantWarning.class, IElephantWarning.class);
47  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: