open.Jelly.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 4
???
? ? ? ??
? ?? ?? ?? ?? ??
??
?
?
?
?
???
? ?
?? I??? ??? I? ??? ???
???
"?
???
??
"??????
??
.?
.?
??
z? ??
??
|? I?
z?
??
???
;??
=?
=?
=???
B?
|? ???
?????
??
??
??
"??
?? ? ??
R?
R??
R?
R?0?
"?
"??<??
^? ? ?
^? ?
B?
? ? ?
^?
_
"
?
"
? ?
" ?
z?
|?
z
z?
??
"?#
?$ ' *
^+ -
?./
?0
^1
234
??5
?6
?7
?8
?9
?:
;<
z=
|>
??
???@ Function6 InnerClassesA Function5B Function4C Function3D Function2 functions Builder 0Lcom/google/common/collect/ImmutableMap$Builder; Signature ?Lcom/google/common/collect/ImmutableMap$Builder;>; bindables VLcom/google/common/collect/ImmutableMap$Builder; customPredicatesBuilder ZLcom/google/common/collect/ImmutableMap$Builder; ()V Code LineNumberTable LocalVariableTable this Lopen/Jelly; add ^(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/util/function/Function;)Lopen/Jelly; firstType Ljava/lang/Class;
secondType
bindableClass function Ljava/util/function/Function; LocalVariableTypeTable Ljava/lang/Class; Ljava/lang/Class; Ljava/lang/Class; &Ljava/util/function/Function; ?(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/util/function/Function;)Lopen/Jelly; h(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function2;)Lopen/Jelly; thirdType Lopen/Jelly$Function2; Ljava/lang/Class; #Lopen/Jelly$Function2; ?(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function2;)Lopen/Jelly; y(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function3;)Lopen/Jelly;
fourthType Lopen/Jelly$Function3; Ljava/lang/Class; 'Lopen/Jelly$Function3;(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function3;)Lopen/Jelly; ?(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function4;)Lopen/Jelly; fifthType Lopen/Jelly$Function4; Ljava/lang/Class; +Lopen/Jelly$Function4;A(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function4;)Lopen/Jelly; ?(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function5;)Lopen/Jelly; sixthType Lopen/Jelly$Function5; Ljava/lang/Class; /Lopen/Jelly$Function5;q(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function5;)Lopen/Jelly; ?(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function6;)Lopen/Jelly; seventhType Lopen/Jelly$Function6; Ljava/lang/Class; 3Lopen/Jelly$Function6;?(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lopen/Jelly$Function6;)Lopen/Jelly; N(Ljava/util/function/Function;Ljava/lang/Class;[Ljava/lang/Class;)Lopen/Jelly; classes [Ljava/lang/Class; CLjava/util/function/Function; [Ljava/lang/Class<*>;
StackMapTable ?(Ljava/util/function/Function;Ljava/lang/Class;[Ljava/lang/Class<*>;)Lopen/Jelly; chainClassNames 5(Ljava/util/List;Ljava/lang/Class;)Ljava/lang/String; Ljava/util/List; clazz array &Ljava/util/List;>; Ljava/lang/Class<*>; N(Ljava/util/List;>;Ljava/lang/Class<*>;)Ljava/lang/String; $(Ljava/util/List;)Ljava/lang/String; :(Ljava/util/List;>;)Ljava/lang/String; isFunctionMatch _(Lcom/google/common/collect/ImmutableMap$Builder;Ljava/lang/reflect/Method;Ljava/lang/String;)Z method Ljava/lang/reflect/Method; functionKey Ljava/lang/String; ?(Lcom/google/common/collect/ImmutableMap$Builder;>;Ljava/lang/reflect/Method;Ljava/lang/String;)Z /(Ljava/lang/reflect/Method;Ljava/lang/String;)Z genericInvocation S(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object; byteArrayInputStream Ljava/io/ByteArrayInputStream; objectInputStream Ljava/io/ObjectInputStream; object Ljava/lang/Object; exception Ljava/lang/Exception; bytes [B
parameters functionParametersAsJson functionParametersAsString jsonArray Lcom/google/gson/JsonArray; $Ljava/util/List; $Ljava/util/List;???? ?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;
jsonToType "(Ljava/io/InputStream;)Lopen/Type; typeJson Lcom/google/gson/JsonObject; types inputStream Ljava/io/InputStream; build %(Ljava/lang/Class;)Ljava/lang/Object; 1(Ljava/lang/Class;)TT; lambda$jsonToType$22 I(Lcom/google/gson/JsonArray;Lcom/google/gson/JsonObject;)Ljava/util/List; lambda$null$21 O(Lcom/google/gson/JsonArray;Lcom/google/gson/JsonObject;I)Lopen/BoundSingleton; customPredicate Lopen/CustomPredicate; index I key currentType cannotBe +Lopen/CustomPredicate; *Lopen/CustomPredicate; lambda$null$20F Entry -(Lopen/CustomPredicate;)Ljava/util/Map$Entry; lambda$null$19G CannotBe 3(Ljava/lang/String;)Lopen/CustomPredicate$CannotBe; string lambda$null$18 &(Ljava/lang/String;)Ljava/lang/String; lambda$null$17 0(Lcom/google/gson/JsonArray;I)Ljava/lang/String; i lambda$null$16 lambda$null$15 lambda$null$14 '(Ljava/lang/String;)Ljava/lang/Integer; lambda$null$13 lambda$genericInvocation$12 @(Lcom/google/gson/JsonArray;Ljava/util/List;I)Ljava/lang/Object; lambda$chainClassNames$11 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; j lambda$chainClassNames$10 %(Ljava/lang/Class;)Ljava/lang/String; lambda$chainClassNames$9 7([Ljava/lang/Class;Ljava/lang/Class;Ljava/util/List;I)V lambda$add$8 S(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
jsonObject predicateWrappedFunction split annotations "[Ljava/lang/annotation/Annotation; matchedAnnotations matchedAnnotation Lopen/PredicateInterfaces; invocationTargetException -Ljava/lang/reflect/InvocationTargetException; proxy args [Ljava/lang/Object; ,Ljava/util/List;?H^V*/
ExceptionsI
lambda$null$7 N(Ljava/lang/String;Lopen/CustomPredicate;Ljava/lang/Object;)Ljava/lang/Object; result
lambda$null$6 (Lopen/PredicateInterfaces;)Z
lambda$null$5 ?([Ljava/lang/annotation/Annotation;I)Lopen/PredicateInterfaces;
lambda$null$4 0(Lcom/google/gson/JsonArray;Ljava/lang/Object;)V byteArrayOutputStream Ljava/io/ByteArrayOutputStream; objectOutputStream Ljava/io/ObjectOutputStream; arg
lambda$null$3 (([Ljava/lang/Object;I)Ljava/lang/Object;
lambda$null$2 (Ljava/lang/String;)Z
lambda$null$1 %(Ljava/util/List;I)Ljava/lang/String;
lambda$null$0 %(Ljava/lang/Object;)Ljava/lang/Class;
SourceFile
Jelly.java ? ?J .com/google/common/collect/ImmutableMap$Builder ? ? ? ? ? ? java/lang/Class ? ?KLMNO ? ?PQ#RSTUV
open/JellyWX BootstrapMethodsYQZ[\]^_`abcdefghijklmnMoLpqrstJouvwxyz java/lang/String{Tym toStringH?V equals hashCode notify notifyAll wait ? ? com/google/gson/JsonParser|}~???om???y?y?y}?T??? java/io/ByteArrayInputStream ?? java/io/ObjectInputStream ???z? ? java/lang/Exception java/lang/RuntimeException ????o???????? java/util/List??a?? _types???? ???o? java/lang/StringBuilder?? ???T base?T?a integer open/CustomPredicate java/lang/Integer ????o??;???????????z?T?;???E???? ;?> java/lang/Void???} ? ? ? T??o?V?y???? com/google/gson/JsonObject com/google/gson/JsonArray ?? java/util/ArrayList java/util/function/Function????o???g?i?????o??l open/PredicateInterfaces???o?[? +java/lang/reflect/InvocationTargetException??o???? java/io/ByteArrayOutputStream java/io/ObjectOutputStream ??????????????? ?? java/lang/Object open/Jelly$Function6 open/Jelly$Function5 open/Jelly$Function4 open/Jelly$Function3 open/Jelly$Function2? java/util/Map$Entry open/CustomPredicate$CannotBe java/lang/reflect/Method java/lang/Throwable &com/google/common/collect/ImmutableMap genericFunction ()Ljava/util/function/Function; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; put V(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder; *()Lcom/google/common/collect/ImmutableMap; getName ()Ljava/lang/String; containsKey (Ljava/lang/Object;)Z getClassLoader ()Ljava/lang/ClassLoader;
??
? invoke 3(Lopen/Jelly;)Ljava/lang/reflect/InvocationHandler; java/lang/reflect/Proxy newProxyInstance b(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object; size ()I java/util/stream/IntStream range (II)Ljava/util/stream/IntStream; (I)V
? accept U([Ljava/lang/Class;Ljava/lang/Class;Ljava/util/List;)Ljava/util/function/IntConsumer; forEach #(Ljava/util/function/IntConsumer;)V stream ()Ljava/util/stream/Stream; &(Ljava/lang/Object;)Ljava/lang/Object;
? apply java/util/stream/Stream map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
? %()Ljava/util/function/BinaryOperator; reduce 9(Ljava/util/function/BinaryOperator;)Ljava/util/Optional; java/util/Optional get ()Ljava/lang/Object; trim parse 1(Ljava/lang/String;)Lcom/google/gson/JsonElement; com/google/gson/JsonElement getAsJsonObject ()Lcom/google/gson/JsonObject; getAsJsonArray /(Ljava/lang/String;)Lcom/google/gson/JsonArray; java/util/Base64
getDecoder Decoder ()Ljava/util/Base64$Decoder; (I)Lcom/google/gson/JsonElement; (I)Ljava/lang/Object; getAsString java/util/Base64$Decoder decode (Ljava/lang/String;)[B ([B)V (Ljava/io/InputStream;)V
readObject close (Ljava/lang/Throwable;)V
? M(Lcom/google/gson/JsonArray;Ljava/util/List;)Ljava/util/function/IntFunction; mapToObj ;(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream; java/util/stream/Collectors toList ()Ljava/util/stream/Collector; collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; java/io/InputStream available read ([B)I ()Lcom/google/gson/JsonArray; ()Ljava/util/List;
? D(Lcom/google/gson/JsonArray;Lcom/google/gson/JsonObject;)Lopen/Type;
? (I)Lopen/BoundSingleton; Y(Lcom/google/gson/JsonArray;Lcom/google/gson/JsonObject;)Ljava/util/function/IntFunction; append (I)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; toLowerCase (Ljava/lang/Class;)V
(I)Ljava/lang/String; =(Lcom/google/gson/JsonArray;)Ljava/util/function/IntFunction;
addAll ((Ljava/util/List;)Lopen/CustomPredicate; ()Ljava/util/Map$Entry;
boundClazz -(Lopen/CustomPredicate;)Lopen/BoundSingleton;
entry ;(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;
t
()Ljava/lang/Integer; valueOf getBytes ()[B ([B)[B concat
getReturnType ()Ljava/lang/Class;
'(Ljava/lang/String;)[Ljava/lang/String;
2(Ljava/util/List;)Ljava/util/function/IntFunction;
test ()Ljava/util/function/Predicate; filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; 2(Ljava/lang/String;Lcom/google/gson/JsonElement;)V $com/google/common/base/Preconditions
checkArgument (Z)V
5([Ljava/lang/Object;)Ljava/util/function/IntFunction; (Ljava/lang/Object;)V
:(Lcom/google/gson/JsonArray;)Ljava/util/function/Consumer; (Ljava/util/function/Consumer;)V getDeclaredAnnotations $()[Ljava/lang/annotation/Annotation;
(I)Lopen/PredicateInterfaces; D([Ljava/lang/annotation/Annotation;)Ljava/util/function/IntFunction;
getPredicate 2(Lopen/PredicateInterfaces;)Lopen/CustomPredicate;
S(Lopen/Jelly;Ljava/lang/String;Lopen/CustomPredicate;)Ljava/util/function/Function; 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getCause ()Ljava/lang/Throwable; '(Ljava/lang/Object;)Ljava/lang/Boolean; java/lang/Boolean booleanValue ()Z (Ljava/io/OutputStream;)V writeObject getClass
getEncoder Encoder ()Ljava/util/Base64$Encoder; toByteArray java/util/Base64$Encoder encodeToString ([B)Ljava/lang/String; addProperty '(Ljava/lang/String;Ljava/lang/String;)V (Lcom/google/gson/JsonElement;)V
java/util/MapPQNOLMIJGH&'()F@C;B7?@8;47=>DE|}z{xyvwopmnklhi "java/lang/invoke/LambdaMetafactory metafactory Lookup ?(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; %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! ? ? ? ? ? ? ? ? ? ? ? ? ? &