404142434445464748
public void explain(TreeVisitor<? super String> visitor) { failure.explain(visitor); } private RuntimeException failure() { TreeFormatter formatter = new TreeFormatter(); this.explain(formatter); return new GradleException(formatter.toString()); }
252627282930313233
public boolean isAvailable() { return reason == null; } public String getUnavailableMessage() { TreeFormatter formatter = new TreeFormatter(); this.explain(formatter); return formatter.toString(); }
170171172173174175176177178
visitor.endChildren(); } } public File getTool() { TreeFormatter formatter = new TreeFormatter(); explain(formatter); throw new GradleException(formatter.toString()); }