com.groupbyinc.flux.common.sun.jna.Library$Handler.class Maven / Gradle / Ivy
???? 2 2com/groupbyinc/flux/common/sun/jna/Library$Handler java/lang/Object #java/lang/reflect/InvocationHandler Library.java *com/groupbyinc/flux/common/sun/jna/Library Handler ?com/groupbyinc/flux/common/sun/jna/Library$Handler$FunctionInfo FunctionInfo OBJECT_TOSTRING Ljava/lang/reflect/Method; OBJECT_HASHCODE
OBJECT_EQUALS
nativeLibrary 2Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary; interfaceClass Ljava/lang/Class; Ljava/lang/Class<*>; options Ljava/util/Map; 5Ljava/util/Map; invocationMapper 5Lcom/groupbyinc/flux/common/sun/jna/InvocationMapper; functions lLjava/util/Map; 5(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Map;)V ()V
! java/util/WeakHashMap #
$ ! & ( java/lang/String * trim ()Ljava/lang/String; , -
+ . equals (Ljava/lang/Object;)Z 0 1
+ 2 "java/lang/IllegalArgumentException 4 java/lang/StringBuilder 6
7 ! Invalid library name " 9 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ; <
7 = " ? toString A -
7 B (Ljava/lang/String;)V D
5 E java/lang/Class G
java/util/Map I isInterface ()Z K L
H M " does not implement an interface: O getName Q -
H R T java/util/HashMap V (Ljava/util/Map;)V X
W Y [ 7com/groupbyinc/flux/common/sun/jna/AltCallingConvention ] isAssignableFrom (Ljava/lang/Class;)Z _ `
H a calling-convention c get &(Ljava/lang/Object;)Ljava/lang/Object; e f J g java/lang/Integer i valueOf (I)Ljava/lang/Integer; k l
j m put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; o p J q classloader s getClassLoader ()Ljava/lang/ClassLoader; u v
H w 0com/groupbyinc/flux/common/sun/jna/NativeLibrary y getInstance U(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary; { |
z } invocation-mapper ? 3com/groupbyinc/flux/common/sun/jna/InvocationMapper ? ? this 4Lcom/groupbyinc/flux/common/sun/jna/Library$Handler; libname Ljava/lang/String; $Ljava/util/Map; callingConvention I getNativeLibrary 4()Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary; getLibraryName
z R getInterfaceClass ()Ljava/lang/Class; invoke S(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; java/lang/Throwable ? ? java/lang/reflect/Method ?
? 2 Proxy interface to ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ; ?
7 ? ? hashCode ()I ? ?
? ? getClass ? ?
? java/lang/reflect/Proxy ? isProxyClass ? `
? ? getInvocationHandler 9(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler; ? ?
? ? +com/groupbyinc/flux/common/sun/jna/Function ? (Z)Ljava/lang/Boolean; k ?
? ? java/lang/Boolean ? FALSE Ljava/lang/Boolean; ? ? ? ? isVarArgs (Ljava/lang/reflect/Method;)Z ? ?
? ? s(Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;Ljava/lang/reflect/Method;)Ljava/lang/reflect/InvocationHandler; ? ? ? ? [Ljava/lang/Object; ?
? R getFunction [(Ljava/lang/String;Ljava/lang/reflect/Method;)Lcom/groupbyinc/flux/common/sun/jna/Function; ? ?
z ? getParameterTypes ()[Ljava/lang/Class; ? ?
? ? invoking-method ? [Ljava/lang/Class; ? w(Ljava/lang/reflect/InvocationHandler;Lcom/groupbyinc/flux/common/sun/jna/Function;[Ljava/lang/Class;ZLjava/util/Map;)V ?
? Z ? ? ? concatenateVarArgs (([Ljava/lang/Object;)[Ljava/lang/Object; ? ?
? ? handler %Ljava/lang/reflect/InvocationHandler; ? ? ? ? ? ? function -Lcom/groupbyinc/flux/common/sun/jna/Function; ? ? ? parameterTypes ? ? ?
getReturnType ? ?
? ? [ s(Ljava/lang/reflect/Method;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object; ? ?
? ? o Ljava/lang/Object; [Ljava/lang/Class<*>; proxy method inArgs f ALcom/groupbyinc/flux/common/sun/jna/Library$Handler$FunctionInfo; java/lang/Exception ? A getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
H ? 0 java/lang/Error )Error retrieving Object.toString() method
E e Ljava/lang/Exception; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable M(Ljava/lang/String;Ljava/lang/Class<*>;Ljava/util/Map;)V ()Ljava/lang/Class<*>;
Exceptions
SourceFile InnerClasses ! ? ?*? "*? $Y? %? '+? /)+? /? 3? #? 5Y? 7Y? 8:? >+? >@? >? C? F?,? N? %? 5Y? 7Y? 8+? >P? >,? S? >? C? F?*,? U*? WY-? Z? \^,? b? ?? 6*? \d? h ? *? \d? n? r W*? \t? h ? *? \t,? x? r W*+*? \? ~? ?**? \?? h ? ?? ?? 4 ? ? ? ? ? ? ? ? ? \ ? ? ? ? ? B ? ? ? ? ? ? F ? h ? m ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + H J (@? ? ? / *? ?? ? ? ? ? - 2 *? ?? ?? ? ? ? ? ? / *? U? ? ? ? ? ? ? \? ?,? ?? ? 7Y? 8?? >*? ?? ?? C?? ?,? ?? *? ?? n?? ?,? ?? .-2:? ? ?? ?? ? ?*? ? ? ??? ??*? ',? h ? :? ?*? 'Y:?*? ',? h ? :? },? ?6:*? ?? *? ?*? ?,? ? ::: :
? /*? ?,? ?,? ?:,? ?: ? WY*? \? Z:
?,? r W? Y
? ?:*? ',? r Wç :??? ܙ -? ?N? ?? ? ?+,-? ? ?? ?,? ?,? ?-? ? ?? ? p B &