File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extensions/throwingproviders/test/com/google/inject/throwingproviders Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 19
19
import static com .google .common .collect .ImmutableSet .toImmutableSet ;
20
20
import static com .google .inject .Asserts .assertContains ;
21
21
import static java .lang .annotation .ElementType .METHOD ;
22
+ import static java .lang .annotation .ElementType .TYPE ;
22
23
import static java .lang .annotation .RetentionPolicy .RUNTIME ;
23
24
24
25
import com .google .common .collect .ImmutableList ;
47
48
import com .google .inject .throwingproviders .ThrowingProviderBinder .Result ;
48
49
import java .io .IOException ;
49
50
import java .lang .annotation .Annotation ;
50
- import java .lang .annotation .ElementType ;
51
51
import java .lang .annotation .Retention ;
52
52
import java .lang .annotation .RetentionPolicy ;
53
53
import java .lang .annotation .Target ;
@@ -1647,7 +1647,7 @@ public T get() {
1647
1647
}
1648
1648
1649
1649
@ ScopeAnnotation
1650
- @ Target (ElementType . TYPE )
1650
+ @ Target ({ TYPE , METHOD } )
1651
1651
@ Retention (RetentionPolicy .RUNTIME )
1652
1652
private @interface BadScope {}
1653
1653
You can’t perform that action at this time.
0 commit comments