diff --git a/android/guava/src/com/google/common/reflect/Parameter.java b/android/guava/src/com/google/common/reflect/Parameter.java index efe429110b42..c69ae734ce68 100644 --- a/android/guava/src/com/google/common/reflect/Parameter.java +++ b/android/guava/src/com/google/common/reflect/Parameter.java @@ -30,14 +30,9 @@ /** * Represents a method or constructor parameter. * - *
Note: Since Java 8 introduced {@link java.lang.reflect.Parameter} to represent method
- * and constructor parameters, this class is no longer necessary. We intend to deprecate it in a
- * future version.
- *
* @author Ben Yu
* @since 14.0
*/
-@Beta
@ElementTypesAreNonnullByDefault
public final class Parameter implements AnnotatedElement {
@@ -145,6 +140,7 @@ public A[] getDeclaredAnnotationsByType(Class annotati
* @deprecated This method does not work under Android VMs. It is safe to use from guava-jre, but
* this copy in guava-android is not safe to use.
*/
+ @Beta
@SuppressWarnings({"Java7ApiChecker", "AndroidJdkLibsChecker"})
@Deprecated
@DoNotCall("fails under Android VMs; do not use from guava-android")
diff --git a/guava/src/com/google/common/reflect/Parameter.java b/guava/src/com/google/common/reflect/Parameter.java
index 92926a984037..c80d18571f73 100644
--- a/guava/src/com/google/common/reflect/Parameter.java
+++ b/guava/src/com/google/common/reflect/Parameter.java
@@ -17,7 +17,6 @@
import static com.google.common.base.Preconditions.checkNotNull;
import static java.util.Objects.requireNonNull;
-import com.google.common.annotations.Beta;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.ImmutableList;
import java.lang.annotation.Annotation;
@@ -29,14 +28,9 @@
/**
* Represents a method or constructor parameter.
*
- * Note: Since Java 8 introduced {@link java.lang.reflect.Parameter} to represent method
- * and constructor parameters, this class is no longer necessary. We intend to deprecate it in a
- * future version.
- *
* @author Ben Yu
* @since 14.0
*/
-@Beta
@ElementTypesAreNonnullByDefault
public final class Parameter implements AnnotatedElement {