convenience wrapper for addwarning that wo n't create an object unless it is relevant . concode_field_sep CompilerConfiguration configuration concode_elem_sep LinkedList warnings concode_elem_sep LinkedList errors concode_field_sep void addError concode_elem_sep void addError concode_elem_sep void addError concode_elem_sep void addError concode_elem_sep Message getLastError concode_elem_sep boolean hasErrors concode_elem_sep Exception getException concode_elem_sep List getWarnings concode_elem_sep int getErrorCount concode_elem_sep List getErrors concode_elem_sep Message getError concode_elem_sep void addFatalError concode_elem_sep CompilerConfiguration getConfiguration concode_elem_sep int getWarningCount concode_elem_sep SyntaxException getSyntaxError concode_elem_sep boolean hasWarnings concode_elem_sep WarningMessage getWarning concode_elem_sep void addCollectorContents concode_elem_sep void addErrorAndContinue concode_elem_sep void addException concode_elem_sep void write concode_elem_sep void write concode_elem_sep void failIfErrors
void function ( int arg0 , String arg1 , Object arg2 , CSTNode arg3 , SourceUnit arg4 ) { if ( WarningMessage . isRelevant ( arg0 , configuration . getWarningLevel ( ) ) ) { addWarning ( new WarningMessage ( arg0 , arg1 , arg2 , arg3 , arg4 ) ) ; } }