Returns the single binding. @throws IllegalStateException if there is not exactly one element in #bindings(), which will never happen for contributions in valid graphs
()
| 98 | * which will never happen for contributions in valid graphs |
| 99 | */ |
| 100 | Binding binding() { |
| 101 | return getOnlyElement(bindings()); |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * {@code true} if there are no {@link #bindings()}, {@link #multibindingDeclarations()}, |
no test coverage detected