com.groupbyinc.flux.script.mustache.MustacheScriptEngine.class Maven / Gradle / Ivy
???? 4 ? 8com/groupbyinc/flux/script/mustache/MustacheScriptEngine java/lang/Object 'com/groupbyinc/flux/script/ScriptEngine MustacheScriptEngine.java Qcom/groupbyinc/flux/script/mustache/MustacheScriptEngine$MustacheExecutableScript MustacheExecutableScript 1com/groupbyinc/flux/script/TemplateScript$Factory )com/groupbyinc/flux/script/TemplateScript
Factory %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup logger !Lorg/apache/logging/log4j/Logger; NAME Ljava/lang/String; mustache ()V
this :Lcom/groupbyinc/flux/script/mustache/MustacheScriptEngine; compile q(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/script/ScriptContext;Ljava/util/Map;)Ljava/lang/Object; (com/groupbyinc/flux/script/ScriptContext #
instanceClazz Ljava/lang/Class; % & $ ' equals (Ljava/lang/Object;)Z ) *
+ "java/lang/IllegalArgumentException - java/lang/StringBuilder /
0 5mustache engine does not know how to handle context [ 2 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 4 5
0 6 name 8 $ 9 ] ; toString ()Ljava/lang/String; = >
0 ? (Ljava/lang/String;)V A
. B createMustacheFactory L(Ljava/util/Map;)Lcom/groupbyinc/flux/script/mustache/CustomMustacheFactory; D E
F java/io/StringReader H
I B query-template K >com/groupbyinc/flux/common/github/mustachejava/MustacheFactory M ](Ljava/io/Reader;Ljava/lang/String;)Lcom/groupbyinc/flux/common/github/mustachejava/Mustache; ! O N P "java/lang/invoke/LambdaMetafactory R 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; T U
S V W <(Ljava/util/Map;)Lcom/groupbyinc/flux/script/TemplateScript; Y lambda$compile$0 u(Lcom/groupbyinc/flux/common/github/mustachejava/Mustache;Ljava/util/Map;)Lcom/groupbyinc/flux/script/TemplateScript; [ \
] ^ newInstance ?(Lcom/groupbyinc/flux/script/mustache/MustacheScriptEngine;Lcom/groupbyinc/flux/common/github/mustachejava/Mustache;)Lcom/groupbyinc/flux/script/TemplateScript$Factory; ` a b factoryClazz d & $ e java/lang/Class g cast &(Ljava/lang/Object;)Ljava/lang/Object; i j
h k templateName templateSource context /Lcom/groupbyinc/flux/script/ScriptContext; *Lcom/groupbyinc/flux/script/ScriptContext; options 5Ljava/util/Map; Ljava/util/Map; factory @Lcom/groupbyinc/flux/common/github/mustachejava/MustacheFactory; reader Ljava/io/Reader; template 9Lcom/groupbyinc/flux/common/github/mustachejava/Mustache; compiled 3Lcom/groupbyinc/flux/script/TemplateScript$Factory;
java/util/Map } isEmpty ()Z ? ~ ? content_type ? containsKey ? * ~ ? 9com/groupbyinc/flux/script/mustache/CustomMustacheFactory ?
? get ? j ~ ? java/lang/String ?
? B getType ?(Lcom/groupbyinc/flux/script/mustache/MustacheScriptEngine;Lcom/groupbyinc/flux/common/github/mustachejava/Mustache;Ljava/util/Map;)V ?
? params
access$000 #()Lorg/apache/logging/log4j/Logger; ? 2com/groupbyinc/flux/common/logging/ESLoggerFactory ? getLogger 4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger; ? ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable Signature ?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/script/ScriptContext;Ljava/util/Map;)TT; r(Ljava/util/Map;)Lcom/groupbyinc/flux/script/mustache/CustomMustacheFactory; BootstrapMethods
SourceFile InnerClasses 1 ? ? / *? ? ? ? 2 ! " ? b-? (? ,? &? .Y? 0Y? 13? 7-? :? 7