Skip to content

Commit

Permalink
Introduce kotlin binary compatibility checker (#1800)
Browse files Browse the repository at this point in the history
Not enforced yet but setting the ground work. See #1796
  • Loading branch information
ZacSweers authored Nov 14, 2024
1 parent 98f8ec3 commit 7067f20
Show file tree
Hide file tree
Showing 52 changed files with 2,395 additions and 6 deletions.
85 changes: 85 additions & 0 deletions backstack/api/android/backstack.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
public abstract interface class com/slack/circuit/backstack/BackStack : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker {
public abstract fun containsRecord (Lcom/slack/circuit/backstack/BackStack$Record;Z)Z
public abstract fun getSize ()I
public abstract fun getTopRecord ()Lcom/slack/circuit/backstack/BackStack$Record;
public abstract fun pop (Lcom/slack/circuit/runtime/screen/PopResult;)Lcom/slack/circuit/backstack/BackStack$Record;
public static synthetic fun pop$default (Lcom/slack/circuit/backstack/BackStack;Lcom/slack/circuit/runtime/screen/PopResult;ILjava/lang/Object;)Lcom/slack/circuit/backstack/BackStack$Record;
public fun popUntil (Lkotlin/jvm/functions/Function1;)Lkotlinx/collections/immutable/ImmutableList;
public abstract fun push (Lcom/slack/circuit/backstack/BackStack$Record;Ljava/lang/String;)Z
public abstract fun push (Lcom/slack/circuit/runtime/screen/Screen;Ljava/lang/String;)Z
public static synthetic fun push$default (Lcom/slack/circuit/backstack/BackStack;Lcom/slack/circuit/backstack/BackStack$Record;Ljava/lang/String;ILjava/lang/Object;)Z
public static synthetic fun push$default (Lcom/slack/circuit/backstack/BackStack;Lcom/slack/circuit/runtime/screen/Screen;Ljava/lang/String;ILjava/lang/Object;)Z
public abstract fun restoreState (Lcom/slack/circuit/runtime/screen/Screen;)Z
public abstract fun saveState ()V
}

public abstract interface class com/slack/circuit/backstack/BackStack$Record {
public abstract fun awaitResult (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public abstract fun getKey ()Ljava/lang/String;
public abstract fun getScreen ()Lcom/slack/circuit/runtime/screen/Screen;
}

public final class com/slack/circuit/backstack/BackStackKt {
public static final fun isAtRoot (Lcom/slack/circuit/backstack/BackStack;)Z
public static final fun isEmpty (Lcom/slack/circuit/backstack/BackStack;)Z
}

public abstract interface class com/slack/circuit/backstack/BackStackRecordLocalProvider {
public abstract fun providedValuesFor (Lcom/slack/circuit/backstack/BackStack$Record;Landroidx/compose/runtime/Composer;I)Lcom/slack/circuit/backstack/ProvidedValues;
}

public final class com/slack/circuit/backstack/BackStackRecordLocalProviderKt {
public static final fun providedValuesForBackStack (Lcom/slack/circuit/backstack/BackStack;Lkotlinx/collections/immutable/ImmutableList;ZLandroidx/compose/runtime/Composer;II)Lkotlinx/collections/immutable/ImmutableMap;
}

public abstract interface class com/slack/circuit/backstack/NavDecoration {
public abstract fun DecoratedContent (Lkotlinx/collections/immutable/ImmutableList;ILandroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;I)V
}

public abstract interface class com/slack/circuit/backstack/ProvidedValues {
public abstract fun provideValues (Landroidx/compose/runtime/Composer;I)Lkotlinx/collections/immutable/ImmutableList;
}

public final class com/slack/circuit/backstack/SaveableBackStack : com/slack/circuit/backstack/BackStack {
public static final field $stable I
public fun <init> (Lcom/slack/circuit/backstack/SaveableBackStack$Record;)V
public fun <init> (Lcom/slack/circuit/runtime/screen/Screen;)V
public synthetic fun containsRecord (Lcom/slack/circuit/backstack/BackStack$Record;Z)Z
public fun containsRecord (Lcom/slack/circuit/backstack/SaveableBackStack$Record;Z)Z
public fun getSize ()I
public synthetic fun getTopRecord ()Lcom/slack/circuit/backstack/BackStack$Record;
public fun getTopRecord ()Lcom/slack/circuit/backstack/SaveableBackStack$Record;
public fun iterator ()Ljava/util/Iterator;
public synthetic fun pop (Lcom/slack/circuit/runtime/screen/PopResult;)Lcom/slack/circuit/backstack/BackStack$Record;
public fun pop (Lcom/slack/circuit/runtime/screen/PopResult;)Lcom/slack/circuit/backstack/SaveableBackStack$Record;
public synthetic fun push (Lcom/slack/circuit/backstack/BackStack$Record;Ljava/lang/String;)Z
public fun push (Lcom/slack/circuit/backstack/SaveableBackStack$Record;Ljava/lang/String;)Z
public fun push (Lcom/slack/circuit/runtime/screen/Screen;Ljava/lang/String;)Z
public final fun push (Lcom/slack/circuit/runtime/screen/Screen;Ljava/util/Map;Ljava/lang/String;)Z
public fun restoreState (Lcom/slack/circuit/runtime/screen/Screen;)Z
public fun saveState ()V
}

public final class com/slack/circuit/backstack/SaveableBackStack$Record : com/slack/circuit/backstack/BackStack$Record {
public static final field $stable I
public fun <init> (Lcom/slack/circuit/runtime/screen/Screen;Ljava/util/Map;Ljava/lang/String;)V
public synthetic fun <init> (Lcom/slack/circuit/runtime/screen/Screen;Ljava/util/Map;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun awaitResult (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun component1 ()Lcom/slack/circuit/runtime/screen/Screen;
public final fun component2 ()Ljava/util/Map;
public final fun component3 ()Ljava/lang/String;
public final fun copy (Lcom/slack/circuit/runtime/screen/Screen;Ljava/util/Map;Ljava/lang/String;)Lcom/slack/circuit/backstack/SaveableBackStack$Record;
public static synthetic fun copy$default (Lcom/slack/circuit/backstack/SaveableBackStack$Record;Lcom/slack/circuit/runtime/screen/Screen;Ljava/util/Map;Ljava/lang/String;ILjava/lang/Object;)Lcom/slack/circuit/backstack/SaveableBackStack$Record;
public fun equals (Ljava/lang/Object;)Z
public final fun getArgs ()Ljava/util/Map;
public fun getKey ()Ljava/lang/String;
public fun getScreen ()Lcom/slack/circuit/runtime/screen/Screen;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/slack/circuit/backstack/SaveableBackStackKt {
public static final fun rememberSaveableBackStack (Lcom/slack/circuit/runtime/screen/Screen;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)Lcom/slack/circuit/backstack/SaveableBackStack;
public static final fun rememberSaveableBackStack (Ljava/util/List;Landroidx/compose/runtime/Composer;I)Lcom/slack/circuit/backstack/SaveableBackStack;
}

Loading

0 comments on commit 7067f20

Please sign in to comment.