Ejemplo n.º 1
0
  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());
  }
Ejemplo n.º 2
0
 public String getIdentifier() {
   String result = super.getIdentifier();
   if (ruleViolation.isSkipped()) {
     result += "(skipped)";
   }
   return result;
 }