Skip to content

Commit ee57f46

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Add @Beta back to the new Invokable.getAnnotatedReturnType method of guava-android.
There is some chance that we will have to delete the method if we hear of problems under Android. And since it's a brand-new API _and_ it doesn't actually work under an Android VM, we know that we're affecting no existing users and possibly none even in the future. RELNOTES=n/a PiperOrigin-RevId: 523212269
1 parent a195f7d commit ee57f46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

android/guava/src/com/google/common/reflect/Invokable.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import static com.google.common.base.Preconditions.checkNotNull;
1818

19+
import com.google.common.annotations.Beta;
1920
import com.google.common.collect.ImmutableList;
2021
import com.google.errorprone.annotations.CanIgnoreReturnValue;
2122
import com.google.errorprone.annotations.DoNotCall;
@@ -366,6 +367,7 @@ abstract Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[]
366367
@DoNotCall("fails under Android VMs; do not use from guava-android")
367368
@Deprecated
368369
@IgnoreJRERequirement
370+
@Beta
369371
public abstract AnnotatedType getAnnotatedReturnType();
370372

371373
static class MethodInvokable<T> extends Invokable<T, Object> {

0 commit comments

Comments
 (0)