io.github.gmazzo.codeowners.matcher.CodeOwnersMatcher.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler Show documentation
Show all versions of kotlin-compiler Show documentation
CodeOwners Kotlin Compiler Plugin
???? 7 ? 5io/github/gmazzo/codeowners/matcher/CodeOwnersMatcher java/lang/Object E(Ljava/io/File;Lio/github/gmazzo/codeowners/matcher/CodeOwnersFile;)V #Lorg/jetbrains/annotations/NotNull; rootDir kotlin/jvm/internal/Intrinsics
checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V
codeOwners ()V
Ljava/io/File; java/lang/Iterable java/util/ArrayList
java/util/Collection iterator ()Ljava/util/Iterator; ! java/util/Iterator # hasNext ()Z % & $ ' next ()Ljava/lang/Object; ) * $ + 8io/github/gmazzo/codeowners/matcher/CodeOwnersFile$Entry - add (Ljava/lang/Object;)Z / 0 1 java/util/List 3 kotlin/collections/CollectionsKt 5 reversed &(Ljava/lang/Iterable;)Ljava/util/List; 7 8
6 9 collectionSizeOrDefault (Ljava/lang/Iterable;I)I ; <
6 = (I)V ?
@ getOwners ()Ljava/util/List; B C
. D toSet %(Ljava/lang/Iterable;)Ljava/util/Set; F G
6 H 7io/github/gmazzo/codeowners/matcher/jgit/FastIgnoreRule J
getPattern ()Ljava/lang/String; L M
. N (Ljava/lang/String;)V P
K Q kotlin/TuplesKt S to 3(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; U V
T W matchers Ljava/util/List; Y Z [
element$iv$iv Ljava/lang/Object; $i$f$filterIsInstanceTo I $this$filterIsInstanceTo$iv$iv Ljava/lang/Iterable; destination$iv$iv Ljava/util/Collection; $i$f$filterIsInstance $this$filterIsInstance$iv &$i$a$-map-CodeOwnersMatcher$matchers$1 it :Lio/github/gmazzo/codeowners/matcher/CodeOwnersFile$Entry;
item$iv$iv
$i$f$mapTo $this$mapTo$iv$iv $i$f$map $this$map$iv this 7Lio/github/gmazzo/codeowners/matcher/CodeOwnersMatcher; 4Lio/github/gmazzo/codeowners/matcher/CodeOwnersFile; java/io/File r 2io/github/gmazzo/codeowners/matcher/CodeOwnersFile t ownerOf (Ljava/io/File;Z)Ljava/util/Set; 4(Ljava/io/File;Z)Ljava/util/Set; $Lorg/jetbrains/annotations/Nullable; file z kotlin/io/FilesKt | toRelativeString 0(Ljava/io/File;Ljava/io/File;)Ljava/lang/String; ~
} ? $(Ljava/lang/String;Z)Ljava/util/Set; v ?
? isDirectory Z ownerOf$default j(Lio/github/gmazzo/codeowners/matcher/CodeOwnersMatcher;Ljava/io/File;ZILjava/lang/Object;)Ljava/util/Set; ? &
s ? v w
? 8(Ljava/lang/String;Z)Ljava/util/Set; relativePath ? kotlin/Pair ?
component2 ? *
? ? isMatch (Ljava/lang/String;Z)Z ? ?
K ? getFirst ? *
? ?
java/util/Set ? &$i$a$-find-CodeOwnersMatcher$ownerOf$1 ignore 9Lio/github/gmazzo/codeowners/matcher/jgit/FastIgnoreRule; Ljava/lang/String; n(Lio/github/gmazzo/codeowners/matcher/CodeOwnersMatcher;Ljava/lang/String;ZILjava/lang/Object;)Ljava/util/Set; java/lang/CharSequence ? kotlin/text/StringsKt ? endsWith$default 0(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z ? ?
? ? }Ljava/util/List;Lio/github/gmazzo/codeowners/matcher/jgit/FastIgnoreRule;>;>; Lkotlin/Metadata; mv k xi 0 d1 ???8
??
??
??
"
??20B00¢J
002020J
002020R0X¢
??R&
000
0
0 X¢
??¨ d2
Lkotlin/Pair; matcher Entry CodeOwnersMatcher.kt *Lkotlin/jvm/internal/SourceDebugExtension; value?SMAP
CodeOwnersMatcher.kt
Kotlin
*S Kotlin
*F
+ 1 CodeOwnersMatcher.kt
io/github/gmazzo/codeowners/matcher/CodeOwnersMatcher
+ 2 _Collections.kt
kotlin/collections/CollectionsKt___CollectionsKt
+ 3 fake.kt
kotlin/jvm/internal/FakeKt
*L
1#1,23:1
808#2,11:24
1557#2:35
1628#2,3:36
1#3:39
*S KotlinDebug
*F
+ 1 CodeOwnersMatcher.kt
io/github/gmazzo/codeowners/matcher/CodeOwnersMatcher
*L
12#1:24,11
14#1:35
14#1:36,3
*E
RuntimeInvisibleAnnotations Signature Code
StackMapTable LineNumberTable LocalVariableTable $RuntimeInvisibleParameterAnnotations InnerClasses
SourceFile SourceDebugExtension RuntimeVisibleAnnotations 1 ? Y Z ? ? ? ? 7 ?+ ? ,? *? *+? *,? N:6-:? Y? ? :6? " :? ( ? !? , : ? .??? ? 2 W???? 4 _? ? :? N:6-:? Y-
? >? A? :6? " :? ( ? @? , : ? .:
:
6
? E? ? I? KY
? O? R? X
_? 2 W???? 4 _? \? ? + ? ;
s u $ '8? F ? R 2 ! c " h o
v { # ? $ ? % ? ? % ? &