File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
android/guava/src/com/google/common/reflect
guava/src/com/google/common/reflect Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 3030/**
3131 * Represents a method or constructor parameter.
3232 *
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- *
3733 * @author Ben Yu
3834 * @since 14.0
3935 */
40- @ Beta
4136@ ElementTypesAreNonnullByDefault
4237public final class Parameter implements AnnotatedElement {
4338
@@ -145,6 +140,7 @@ public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotati
145140 * @deprecated This method does not work under Android VMs. It is safe to use from guava-jre, but
146141 * this copy in guava-android is not safe to use.
147142 */
143+ @ Beta
148144 @ SuppressWarnings ({"Java7ApiChecker" , "AndroidJdkLibsChecker" })
149145 @ Deprecated
150146 @ DoNotCall ("fails under Android VMs; do not use from guava-android" )
Original file line number Diff line number Diff line change 1717import static com .google .common .base .Preconditions .checkNotNull ;
1818import static java .util .Objects .requireNonNull ;
1919
20- import com .google .common .annotations .Beta ;
2120import com .google .common .collect .FluentIterable ;
2221import com .google .common .collect .ImmutableList ;
2322import java .lang .annotation .Annotation ;
2928/**
3029 * Represents a method or constructor parameter.
3130 *
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- *
3631 * @author Ben Yu
3732 * @since 14.0
3833 */
39- @ Beta
4034@ ElementTypesAreNonnullByDefault
4135public final class Parameter implements AnnotatedElement {
4236
You can’t perform that action at this time.
0 commit comments