File tree 2 files changed +1
-11
lines changed
android/guava/src/com/google/common/reflect
guava/src/com/google/common/reflect
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 30
30
/**
31
31
* Represents a method or constructor parameter.
32
32
*
33
- * <p><b>Note:</b> Since Java 8 introduced {@link java.lang.reflect.Parameter} to represent method
34
- * and constructor parameters, this class is no longer necessary. We intend to deprecate it in a
35
- * future version.
36
- *
37
33
* @author Ben Yu
38
34
* @since 14.0
39
35
*/
40
- @ Beta
41
36
@ ElementTypesAreNonnullByDefault
42
37
public final class Parameter implements AnnotatedElement {
43
38
@@ -145,6 +140,7 @@ public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotati
145
140
* @deprecated This method does not work under Android VMs. It is safe to use from guava-jre, but
146
141
* this copy in guava-android is not safe to use.
147
142
*/
143
+ @ Beta
148
144
@ SuppressWarnings ({"Java7ApiChecker" , "AndroidJdkLibsChecker" })
149
145
@ Deprecated
150
146
@ DoNotCall ("fails under Android VMs; do not use from guava-android" )
Original file line number Diff line number Diff line change 17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
import static java .util .Objects .requireNonNull ;
19
19
20
- import com .google .common .annotations .Beta ;
21
20
import com .google .common .collect .FluentIterable ;
22
21
import com .google .common .collect .ImmutableList ;
23
22
import java .lang .annotation .Annotation ;
29
28
/**
30
29
* Represents a method or constructor parameter.
31
30
*
32
- * <p><b>Note:</b> Since Java 8 introduced {@link java.lang.reflect.Parameter} to represent method
33
- * and constructor parameters, this class is no longer necessary. We intend to deprecate it in a
34
- * future version.
35
- *
36
31
* @author Ben Yu
37
32
* @since 14.0
38
33
*/
39
- @ Beta
40
34
@ ElementTypesAreNonnullByDefault
41
35
public final class Parameter implements AnnotatedElement {
42
36
You can’t perform that action at this time.
0 commit comments