public interface DiagnosticReporter
BindingGraphPlugin
s can use to report diagnostics while visiting a BindingGraph
.
Note: This API is still experimental and will change.
Modifier and Type | Method and Description |
---|---|
void |
reportBinding(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.MaybeBinding binding,
java.lang.String message)
Reports a diagnostic for a binding or missing binding.
|
void |
reportBinding(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.MaybeBinding binding,
java.lang.String messageFormat,
java.lang.Object firstArg,
java.lang.Object... moreArgs)
Reports a diagnostic for a binding or missing binding.
|
void |
reportComponent(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.ComponentNode componentNode,
java.lang.String message)
Reports a diagnostic for a component.
|
void |
reportComponent(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.ComponentNode componentNode,
java.lang.String messageFormat,
java.lang.Object firstArg,
java.lang.Object... moreArgs)
Reports a diagnostic for a component.
|
void |
reportDependency(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.DependencyEdge dependencyEdge,
java.lang.String message)
Reports a diagnostic for a dependency.
|
void |
reportDependency(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.DependencyEdge dependencyEdge,
java.lang.String messageFormat,
java.lang.Object firstArg,
java.lang.Object... moreArgs)
Reports a diagnostic for a dependency.
|
void |
reportSubcomponentFactoryMethod(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge,
java.lang.String message)
Reports a diagnostic for a subcomponent factory method.
|
void |
reportSubcomponentFactoryMethod(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge,
java.lang.String messageFormat,
java.lang.Object firstArg,
java.lang.Object... moreArgs)
Reports a diagnostic for a subcomponent factory method.
|
void reportComponent(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.ComponentNode componentNode, java.lang.String message)
@FormatMethod void reportComponent(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.ComponentNode componentNode, java.lang.String messageFormat, java.lang.Object firstArg, java.lang.Object... moreArgs)
void reportBinding(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.MaybeBinding binding, java.lang.String message)
@FormatMethod void reportBinding(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.MaybeBinding binding, java.lang.String messageFormat, java.lang.Object firstArg, java.lang.Object... moreArgs)
void reportDependency(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.DependencyEdge dependencyEdge, java.lang.String message)
@FormatMethod void reportDependency(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.DependencyEdge dependencyEdge, java.lang.String messageFormat, java.lang.Object firstArg, java.lang.Object... moreArgs)
void reportSubcomponentFactoryMethod(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge, java.lang.String message)
@FormatMethod void reportSubcomponentFactoryMethod(javax.tools.Diagnostic.Kind diagnosticKind, BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge, java.lang.String messageFormat, java.lang.Object firstArg, java.lang.Object... moreArgs)