| 1 | package com.google.inject.testing.fieldbinder; |
| 2 | |
| 3 | import static java.lang.annotation.ElementType.TYPE; |
| 4 | import static java.lang.annotation.ElementType.TYPE_USE; |
| 5 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
| 6 | |
| 7 | import com.google.inject.RestrictedBindingSource; |
| 8 | import java.lang.annotation.Retention; |
| 9 | import java.lang.annotation.Target; |
| 10 | |
| 11 | /** Test annotation used to test restricted binding source feature in Kotlin. */ |
| 12 | @RestrictedBindingSource.Permit |
| 13 | @Retention(RUNTIME) |
| 14 | @Target({TYPE, TYPE_USE}) |
| 15 | public @interface TestPermit {} |