xref: /aosp_15_r20/libcore/toolchainapi/api/current.txt (revision 89a6322812dc8573315e60046e7959c50dad91d4)
1// Signature format: 2.0
2package java.lang.invoke {
3
4  public class LambdaMetafactory {
5    ctor public LambdaMetafactory();
6    method public static java.lang.invoke.CallSite altMetafactory(java.lang.invoke.MethodHandles.Lookup, String, java.lang.invoke.MethodType, java.lang.Object...) throws java.lang.invoke.LambdaConversionException;
7    method public static java.lang.invoke.CallSite metafactory(java.lang.invoke.MethodHandles.Lookup, String, java.lang.invoke.MethodType, java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) throws java.lang.invoke.LambdaConversionException;
8    field public static final int FLAG_BRIDGES = 4; // 0x4
9    field public static final int FLAG_MARKERS = 2; // 0x2
10    field public static final int FLAG_SERIALIZABLE = 1; // 0x1
11  }
12
13  public final class SerializedLambda implements java.io.Serializable {
14    ctor public SerializedLambda(Class<?>, String, String, String, int, String, String, String, String, Object[]);
15    method public Object getCapturedArg(int);
16    method public int getCapturedArgCount();
17    method public String getCapturingClass();
18    method public String getFunctionalInterfaceClass();
19    method public String getFunctionalInterfaceMethodName();
20    method public String getFunctionalInterfaceMethodSignature();
21    method public String getImplClass();
22    method public int getImplMethodKind();
23    method public String getImplMethodName();
24    method public String getImplMethodSignature();
25    method public String getInstantiatedMethodType();
26  }
27
28  @FlaggedApi("com.android.libcore.openjdk21_stringconcat") public final class StringConcatFactory {
29    method @FlaggedApi("com.android.libcore.openjdk21_stringconcat") public static java.lang.invoke.CallSite makeConcat(java.lang.invoke.MethodHandles.Lookup, String, java.lang.invoke.MethodType) throws java.lang.invoke.StringConcatException;
30    method @FlaggedApi("com.android.libcore.openjdk21_stringconcat") public static java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles.Lookup, String, java.lang.invoke.MethodType, String, java.lang.Object...) throws java.lang.invoke.StringConcatException;
31  }
32
33}
34
35