kotlin.io.FilesKt__FilePathComponentsKt.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sample-plugin Show documentation
Show all versions of sample-plugin Show documentation
A Gradle Plugin to help generate android sample apk.
???? 2 ? 'kotlin/io/FilesKt__FilePathComponentsKt java/lang/Object +getRootLength$FilesKt__FilePathComponentsKt (Ljava/lang/String;)I java/lang/CharSequence java/io/File
separatorChar C
kotlin/text/StringsKt indexOf$default 1(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
java/lang/String length ()I
charAt (I)C
endsWith$default 0(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
! first I $this$getRootLength Ljava/lang/String; getRootName "(Ljava/io/File;)Ljava/lang/String; #Lorg/jetbrains/annotations/NotNull; * kotlin/jvm/internal/Intrinsics , checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V . /
- 0 getPath ()Ljava/lang/String; 2 3
4 path 6 checkNotNullExpressionValue 8 /
- 9
; substring (II)Ljava/lang/String; = >
? 4this as java.lang.String…ing(startIndex, endIndex) A $this$rootName Ljava/io/File; getRoot (Ljava/io/File;)Ljava/io/File; kotlin/io/FilesKt G ' (
H I (Ljava/lang/String;)V K L
M
$this$root isRooted (Ljava/io/File;)Z $this$isRooted toComponents .(Ljava/io/File;)Lkotlin/io/FilePathComponents; (I)Ljava/lang/String; = U
V /this as java.lang.String).substring(startIndex) X kotlin/collections/CollectionsKt [ emptyList ()Ljava/util/List; ] ^
\ _
split$default A(Ljava/lang/CharSequence;[CZIILjava/lang/Object;)Ljava/util/List; a b
c java/lang/Iterable e java/util/ArrayList g collectionSizeOrDefault (Ljava/lang/Iterable;I)I i j
\ k (I)V K m
h n java/util/Collection p iterator ()Ljava/util/Iterator; r s f t java/util/Iterator v hasNext ()Z x y w z next ()Ljava/lang/Object; | } w ~ add (Ljava/lang/Object;)Z ? ? q ? java/util/List ? kotlin/io/FilePathComponents ? !(Ljava/io/File;Ljava/util/List;)V K ?
? ? ;$i$a$-map-FilesKt__FilePathComponentsKt$toComponents$list$1 p0
item$iv$iv Ljava/lang/Object;
$i$f$mapTo $this$mapTo$iv$iv Ljava/lang/Iterable; destination$iv$iv Ljava/util/Collection; $i$f$map $this$map$iv
rootLength rootName subPath list Ljava/util/List; $this$toComponents (Ljava/io/File;II)Ljava/io/File; S T
H ? (II)Ljava/io/File; ? ?
? ?
$this$subPath
beginIndex endIndex ()V K ?
? this )Lkotlin/io/FilesKt__FilePathComponentsKt; Lkotlin/Metadata; mv k xi 1 d1 ???$
??
??0*0H¢
0*02020H??0*0H??"??0*08F¢??"0*08@X¢"0*08@X¢
¨ d2 root
getRootLength Lkotlin/io/FilePathComponents;
kotlin-stdlib xs FilePathComponents.kt Code
StackMapTable LineNumberTable LocalVariableTable RuntimeInvisibleAnnotations $RuntimeInvisibleParameterAnnotations
SourceFile SourceDebugExtension RuntimeVisibleAnnotations ? ?*? ? ? <? I*? ? ?*? ? ? 4*? ? ? <? !*? ? `? <? `?*? ??? *d? :? ??? *? :? "? *? ?? ?
? R ? B &