public AuditTreeTableNode(final RuleViolation ruleViolation, final AuditTreeTableModel model) { super(ruleViolation.getMessage(), true); this.ruleViolation = ruleViolation; this.model = model; setSourceHolder(ruleViolation.getCompilationUnit()); setLine(ruleViolation.getLine()); addAst(ruleViolation.getAst()); setHidden(ruleViolation.isSkipped()); }
public String getIdentifier() { String result = super.getIdentifier(); if (ruleViolation.isSkipped()) { result += "(skipped)"; } return result; }