Module::Checkstyle::Problem - Represents a checkstyle violation
use Module::Checkstyle::Problem; my $problem = Module::Checkstyle::Problem->new('warn', q(bad variable name '$java'), 40, 'my_script.pl');
Constructs a new
$severity should be any of error or warn but others may be specified.
$message should be a description of the violated check.
$line may either be a scalar or a reference to an array where it will use the first element as line.
$file should be the path to the file that violates the check.
Returns the severity of the problem.
Returns the description of the problem.
Returns the line where the problem was found.
Returns the file that caused the problem.
Returns a stringified message combining severity, message, line and file if they are present.