org.mozilla.javascript.NativeJavaMethod.class Maven / Gradle / Ivy
The newest version!
???? 1?
_ ?
? ^ ? ^ ? ?
?
^ ? ?
? ? ? ? ? ? ? ? ? ? ? ? ?
9 ?
? ? ? ? ?
? ?
?
?
? ?
^ ? ? ?
^ ? ? ?
?
? ?
? ? ?
? ? ?
+
^
?
0 ?
0
0
^
0 ?
?
?
?
! "# $
%&
'
()*
^+
,-
?./
0
123
4
56
%789 serialVersionUID J
ConstantValue?AN?r?i PREFERENCE_EQUAL I PREFERENCE_FIRST_ARG PREFERENCE_SECOND_ARG PREFERENCE_AMBIGUOUS debug Z methods #[Lorg/mozilla/javascript/MemberBox; functionName Ljava/lang/String; &([Lorg/mozilla/javascript/MemberBox;)V Code LineNumberTable LocalVariableTable this )Lorg/mozilla/javascript/NativeJavaMethod; 7(Lorg/mozilla/javascript/MemberBox;Ljava/lang/String;)V method "Lorg/mozilla/javascript/MemberBox; name /(Ljava/lang/reflect/Method;Ljava/lang/String;)V Ljava/lang/reflect/Method; getFunctionName ()Ljava/lang/String; scriptSignature '([Ljava/lang/Object;)Ljava/lang/String; s wrapped Ljava/lang/Object; value i values [Ljava/lang/Object; sig Ljava/lang/StringBuffer; decompile (II)Ljava/lang/String; indent flags sb justbody toString N call ?(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Lorg/mozilla/javascript/Scriptable;[Ljava/lang/Object;)Ljava/lang/Object; c Ljava/lang/Class; varArgs
componentType newArgs arg coerced origArgs
javaObject o #Lorg/mozilla/javascript/Scriptable; cx Lorg/mozilla/javascript/Context; scope thisObj args index meth argTypes [Ljava/lang/Class; retval
staticType LocalVariableTypeTable Ljava/lang/Class<*>; [Ljava/lang/Class<*>; findFunction Y(Lorg/mozilla/javascript/Context;[Lorg/mozilla/javascript/MemberBox;[Ljava/lang/Object;)I j member alength bestFitIndex
preference bestFit betterCount
worseCount methodsOrCtors firstBestFit
extraBestFits [I extraBestFitsCount buf firstFitMember
memberName memberClass preferSignature <([Ljava/lang/Object;[Ljava/lang/Class;Z[Ljava/lang/Class;Z)I type1 type2 rank1 rank2 sig1 vararg1 sig2 vararg2 totalPreference Signature B([Ljava/lang/Object;[Ljava/lang/Class<*>;Z[Ljava/lang/Class<*>;Z)I
printDebug J(Ljava/lang/String;Lorg/mozilla/javascript/MemberBox;[Ljava/lang/Object;)V msg
SourceFile NativeJavaMethod.java t:; ? r s p q org/mozilla/javascript/MemberBox t< t { java/lang/StringBuffer null java/lang/Boolean boolean java/lang/String string java/lang/Number number !org/mozilla/javascript/Scriptable org/mozilla/javascript/Undefined undefined org/mozilla/javascript/Wrapper=>?@A org/mozilla/javascript/Function function objectBCDEFEG ? ? function ? ? () { /*
*/
*/}
|HIJ@ ? ?KL java/lang/RuntimeException No methods defined for call tM ? ?N@ java/lang/StringBuilderEOEP ? ? msg.java.no_such_methodQRST o java/lang/ObjectUV "org/mozilla/javascript/NativeArray &org/mozilla/javascript/NativeJavaArrayW@XYZ[\]^ ?_>`a msg.nonjava.methodb ?cdefghijklmnopqr ?s ?tuvwx ?yz{| ? ?}~??
? ??a msg.constructor.ambiguous msg.method.ambiguous??????? 'org/mozilla/javascript/NativeJavaMethod #org/mozilla/javascript/BaseFunction ()V getName (Ljava/lang/reflect/Method;)V unwrap ()Ljava/lang/Object; getClass ()Ljava/lang/Class; java/lang/Class "org/mozilla/javascript/JavaMembers
javaSignature %(Ljava/lang/Class;)Ljava/lang/String; append (C)Ljava/lang/StringBuffer; ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ()Ljava/lang/reflect/Method; java/lang/reflect/Method
getReturnType liveConnectSignature &([Ljava/lang/Class;)Ljava/lang/String; (Ljava/lang/String;)V getDeclaringClass -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; org/mozilla/javascript/Context reportRuntimeError1 Q(Ljava/lang/String;Ljava/lang/Object;)Lorg/mozilla/javascript/EvaluatorException; vararg jsToJava 7(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; getComponentType java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; getLength (Ljava/lang/Object;)I set ((Ljava/lang/Object;ILjava/lang/Object;)V clone isStatic ()Z $org/mozilla/javascript/ScriptRuntime &(Ljava/lang/Object;)Ljava/lang/String; reportRuntimeError3 u(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/mozilla/javascript/EvaluatorException;
isInstance (Ljava/lang/Object;)Z getPrototype %()Lorg/mozilla/javascript/Scriptable; invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getWrapFactory &()Lorg/mozilla/javascript/WrapFactory; "org/mozilla/javascript/WrapFactory wrap z(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; java/lang/Void TYPE instance 'org/mozilla/javascript/NativeJavaObject
canConvert &(Ljava/lang/Object;Ljava/lang/Class;)Z
hasFeature (I)Z ()Ljava/lang/reflect/Member; java/lang/reflect/Member getModifiers ()I org/mozilla/javascript/Kit codeBug ()Ljava/lang/RuntimeException; isAssignableFrom (Ljava/lang/Class;)Z toJavaDeclaration isMethod reportRuntimeError4 ?(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/mozilla/javascript/EvaluatorException; java/lang/Math min (II)I getConversionWeight &(Ljava/lang/Object;Ljava/lang/Class;)I ! ^ _ ` a b c e f b g h f b i j f b k l f b m n o b g p q r s t u v T *? *+2? ? *+? ? w = > ? @ x y z p q t { v ` *? *,? *? Y+S? ? w C D E F x y z | } ~ s t v P *? Y+? ,? ? w
J
K x y z | ? ~ s ? ? v / *? ? w P x y z ? ? v ? ?? Y? L=*?? ?*2N-?
:? -? ?
:? q-?
?
:? c-? ?
:? U-? ? E-? ?
:? @-? ? -? ? :? ? :? !-? ?
:? :? -? ? :?
+,? W+? W???Z+? ? w j U V W Z [ \ &