MCPcopy Index your code
hub / github.com/google/dagger / create

Method create

java/dagger/spi/ValidationItem.java:36–39  ·  view source on GitHub ↗

Creates a validation item on node.

(Diagnostic.Kind diagnosticKind, Node node, String message)

Source from the content-addressed store, hash-verified

34public abstract class ValidationItem {
35 /** Creates a validation item on {@code node}. */
36 public static ValidationItem create(Diagnostic.Kind diagnosticKind, Node node, String message) {
37 return new AutoValue_ValidationItem(
38 diagnosticKind, Optional.of(node), Optional.empty(), message);
39 }
40
41 /** Creates a validation item on {@code edge}. */
42 public static ValidationItem create(

Callers 1

visitGraphMethod · 0.95

Calls 2

ofMethod · 0.45
emptyMethod · 0.45

Tested by 1

visitGraphMethod · 0.76