com.groupbyinc.flux.common.github.mustachejava.codes.IterableCode.class Maven / Gradle / Ivy
???? 4. Acom/groupbyinc/flux/common/github/mustachejava/codes/IterableCode @com/groupbyinc/flux/common/github/mustachejava/codes/DefaultCode 8com/groupbyinc/flux/common/github/mustachejava/Iteration IterableCode.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup les &Ljava/util/concurrent/ExecutorService; ?(Lcom/groupbyinc/flux/common/github/mustachejava/TemplateContext;Lcom/groupbyinc/flux/common/github/mustachejava/DefaultMustacheFactory;Lcom/groupbyinc/flux/common/github/mustachejava/Mustache;Ljava/lang/String;Ljava/lang/String;)V
Ecom/groupbyinc/flux/common/github/mustachejava/DefaultMustacheFactory getExecutorService (()Ljava/util/concurrent/ExecutorService;
this CLcom/groupbyinc/flux/common/github/mustachejava/codes/IterableCode; tc @Lcom/groupbyinc/flux/common/github/mustachejava/TemplateContext; df GLcom/groupbyinc/flux/common/github/mustachejava/DefaultMustacheFactory; mustache 9Lcom/groupbyinc/flux/common/github/mustachejava/Mustache; variable Ljava/lang/String; type ?(Lcom/groupbyinc/flux/common/github/mustachejava/TemplateContext;Lcom/groupbyinc/flux/common/github/mustachejava/DefaultMustacheFactory;Lcom/groupbyinc/flux/common/github/mustachejava/Mustache;Ljava/lang/String;)V # '
execute 2(Ljava/io/Writer;Ljava/util/List;)Ljava/io/Writer; get $(Ljava/util/List;)Ljava/lang/Object; , -
. handle D(Ljava/io/Writer;Ljava/lang/Object;Ljava/util/List;)Ljava/io/Writer; 0 1
2
appendText "(Ljava/io/Writer;)Ljava/io/Writer; 4 5
6 writer Ljava/io/Writer; scopes $Ljava/util/List; Ljava/util/List; resolved Ljava/lang/Object; java/util/function/Function ? handleFunction O(Ljava/io/Writer;Ljava/util/function/Function;Ljava/util/List;)Ljava/io/Writer; A B
C java/util/concurrent/Callable E handleCallable Q(Ljava/io/Writer;Ljava/util/concurrent/Callable;Ljava/util/List;)Ljava/io/Writer; G H
I * 1
K java/lang/Exception M java/io/IOException O call ()Ljava/lang/Object; Q R F S @com/groupbyinc/flux/common/github/mustachejava/MustacheException U (Ljava/lang/Throwable;)V W
V X java/io/Writer Z flush ()V \ ]
[ ^ Failed to flush writer ` *(Ljava/lang/String;Ljava/lang/Throwable;)V b
V c Acom/groupbyinc/flux/common/github/mustachejava/util/LatchedWriter e (Ljava/io/Writer;)V g
f h Ecom/groupbyinc/flux/common/github/mustachejava/util/InternalArrayList j (Ljava/util/Collection;)V l
k m "java/lang/invoke/LambdaMetafactory o metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; q r
p s t ] lambda$handleCallable$3 ?(Ljava/util/concurrent/Callable;Ljava/io/Writer;Ljava/util/List;Lcom/groupbyinc/flux/common/github/mustachejava/util/LatchedWriter;)V w x
y z run ?(Lcom/groupbyinc/flux/common/github/mustachejava/codes/IterableCode;Ljava/util/concurrent/Callable;Ljava/io/Writer;Ljava/util/List;Lcom/groupbyinc/flux/common/github/mustachejava/util/LatchedWriter;)Ljava/lang/Runnable; | } ~ $java/util/concurrent/ExecutorService ? (Ljava/lang/Runnable;)V * ? ? ? e Ljava/lang/Exception; Ljava/io/IOException; originalWriter
latchedWriter CLcom/groupbyinc/flux/common/github/mustachejava/util/LatchedWriter; newScopes callable Ljava/util/concurrent/Callable; java/io/StringWriter ? ]
? ? runIdentity ? g
? ?com/groupbyinc/flux/common/github/mustachejava/TemplateFunction ? toString ()Ljava/lang/String; ? ?
? ? apply &(Ljava/lang/Object;)Ljava/lang/Object; ? ? @ ? java/lang/Object ?
? ?
writeTemplate D(Ljava/io/Writer;Ljava/lang/String;Ljava/util/List;)Ljava/io/Writer; ? ?
? close ? ]
[ ? write (Ljava/lang/String;)V ? ?
[ ? Failed to write function result ? templateText newtemplate capture Ljava/io/StringWriter; function Ljava/util/function/Function; sw ? :com/groupbyinc/flux/common/github/mustachejava/FragmentKey ? ? U(Lcom/groupbyinc/flux/common/github/mustachejava/TemplateContext;Ljava/lang/String;)V ?
? ? getFragment w(Lcom/groupbyinc/flux/common/github/mustachejava/FragmentKey;)Lcom/groupbyinc/flux/common/github/mustachejava/Mustache; ? ?
? 7com/groupbyinc/flux/common/github/mustachejava/Mustache ? * + ? ? oh >Lcom/groupbyinc/flux/common/github/mustachejava/ObjectHandler; ? ? ?