@Test public void with_cost() throws Exception { PreciseIssue preciseIssue = new PreciseIssue(CHECK, PRIMARY_LOCATION).cost(5); assertThat(preciseIssue.cost()).isEqualTo(5); }
@Nullable @Override public Double cost() { return cost; }
PreciseIssue implements PhpIssue { @Nullable @Override public Double cost() { return cost; } }
PreciseIssue implements PhpIssue { @Nullable @Override public Double cost() { return cost; } PreciseIssue(PHPCheck check, IssueLocation primaryLocation); }
PreciseIssue implements PhpIssue { @Nullable @Override public Double cost() { return cost; } PreciseIssue(PHPCheck check, IssueLocation primaryLocation); IssueLocation primaryLocation(); List<IssueLocation> secondaryLocations(); PreciseIssue secondary(Tree tree, @Nullable String message); PreciseIssue secondary(Tree startTree, Tree endTree, @Nullable String message); PreciseIssue secondary(LocationInFile locationInFile, @Nullable String message); @Override PHPCheck check(); @Nullable @Override Double cost(); @Override PreciseIssue cost(double cost); }
PreciseIssue implements PhpIssue { @Nullable @Override public Double cost() { return cost; } PreciseIssue(PHPCheck check, IssueLocation primaryLocation); IssueLocation primaryLocation(); List<IssueLocation> secondaryLocations(); PreciseIssue secondary(Tree tree, @Nullable String message); PreciseIssue secondary(Tree startTree, Tree endTree, @Nullable String message); PreciseIssue secondary(LocationInFile locationInFile, @Nullable String message); @Override PHPCheck check(); @Nullable @Override Double cost(); @Override PreciseIssue cost(double cost);  }