org.mozilla.javascript.FunctionObject.class Maven / Gradle / Ivy
The newest version!
???? 1?
h ? ? ?
? g ? g ? ?
?
?
? g ? ?
? ? ? ?
? ? ? ? 2
g ? g
g
? ?
g g
?
? ? ? / ? ? 6
?
?
/
?! 2" 2#$
?%
6&
?'(
: ?
g)*
+
?
-,-
g.
?/0
?1
2
34
g5 a6
g7
g8 a9:
g9;
g<=
>
?
@
?A
gBC
?D
EF ? ?G HI
J
KL
?MNO
P
gQ aR
STUV serialVersionUID J
ConstantValue????k??? VARARGS_METHOD S???? VARARGS_CTOR???? sawSecurityException Z JAVA_UNSUPPORTED_TYPE I JAVA_STRING_TYPE
JAVA_INT_TYPE JAVA_BOOLEAN_TYPE JAVA_DOUBLE_TYPE JAVA_SCRIPTABLE_TYPE JAVA_OBJECT_TYPE member "Lorg/mozilla/javascript/MemberBox; functionName Ljava/lang/String; typeTags [B parmsLength
hasVoidReturn
returnTypeTag isStatic R(Ljava/lang/String;Ljava/lang/reflect/Member;Lorg/mozilla/javascript/Scriptable;)V Code LineNumberTable LocalVariableTable tag i method Ljava/lang/reflect/Method;
returnType Ljava/lang/Class; ctorType this 'Lorg/mozilla/javascript/FunctionObject; name methodOrConstructor Ljava/lang/reflect/Member; scope #Lorg/mozilla/javascript/Scriptable;
methodName types [Ljava/lang/Class; arity LocalVariableTypeTable Ljava/lang/Class<*>; [Ljava/lang/Class<*>;
getTypeTag (Ljava/lang/Class;)I type Signature (Ljava/lang/Class<*>;)I
convertArg j(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Ljava/lang/Object;I)Ljava/lang/Object; cx Lorg/mozilla/javascript/Context; arg Ljava/lang/Object; typeTag getArity ()I getLength getFunctionName ()Ljava/lang/String; getMethodOrConstructor ()Ljava/lang/reflect/Member; findSingleMethod I([Ljava/lang/reflect/Method;Ljava/lang/String;)Ljava/lang/reflect/Method; N methods [Ljava/lang/reflect/Method; found
getMethodList .(Ljava/lang/Class;)[Ljava/lang/reflect/Method; e Ljava/lang/SecurityException; clazz count result j 1(Ljava/lang/Class<*>;)[Ljava/lang/reflect/Method; addAsConstructor I(Lorg/mozilla/javascript/Scriptable;Lorg/mozilla/javascript/Scriptable;)V prototype initAsConstructor z(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; desired
Deprecated }(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Ljava/lang/Object;Ljava/lang/Class<*>;)Ljava/lang/Object; call ?(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Lorg/mozilla/javascript/Scriptable;[Ljava/lang/Object;)Ljava/lang/Object;
invokeArgs [Ljava/lang/Object; inNewExpr b Ljava/lang/Boolean; parentScope
compatible converted thisObj args checkMethodResult createObject h(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;)Lorg/mozilla/javascript/Scriptable; ex Ljava/lang/Exception; isVarArgsMethod ()Z isVarArgsConstructor
readObject (Ljava/io/ObjectInputStream;)V in Ljava/io/ObjectInputStream;
ExceptionsWX
SourceFile FunctionObject.java ?Y java/lang/reflect/Constructor org/mozilla/javascript/MemberBox ?Z ? ? ? t java/lang/reflect/Method ?[ ? ?\ ? ? ?] ?^_ ?`a ?bcd ?e ?f ? msg.varargs.ctorghi ? vj ? msg.varargs.fun ? ? ? ?
msg.bad.parmsklm ? ?nocp ? t ? vqcrs msg.bad.ctor.returntuv ?w ?x ?y ? java/lang/Stringz{ java/lang/Integer|} ?~ java/lang/Boolean?? ?? ? java/lang/Double?? ???? "java/lang/IllegalArgumentException ? ? ???? msg.no.overload s t?? java/lang/SecurityException??? ???? ? ?? ??????? constructor msg.cant.convert ? ? java/lang/Object??? ??????? msg.incompat.call?? ???? ??? ????? ??? !org/mozilla/javascript/Scriptable java/lang/Exception????????Y %org/mozilla/javascript/FunctionObject #org/mozilla/javascript/BaseFunction java/io/IOException java/lang/ClassNotFoundException ()V "(Ljava/lang/reflect/Constructor;)V (Ljava/lang/reflect/Method;)V getName argTypes java/lang/Class isArray $org/mozilla/javascript/ScriptRuntime ContextClass getComponentType ()Ljava/lang/Class; ObjectClass
FunctionClass TYPE org/mozilla/javascript/Context reportRuntimeError1 Q(Ljava/lang/String;Ljava/lang/Object;)Lorg/mozilla/javascript/EvaluatorException; ScriptableClass reportRuntimeError2 c(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/mozilla/javascript/EvaluatorException; isMethod ()Ljava/lang/reflect/Method;
getReturnType java/lang/Void getDeclaringClass isAssignableFrom (Ljava/lang/Class;)Z setFunctionProtoAndParent K(Lorg/mozilla/javascript/BaseFunction;Lorg/mozilla/javascript/Scriptable;)V StringClass IntegerClass BooleanClass DoubleClass toString &(Ljava/lang/Object;)Ljava/lang/String; toInt32 (Ljava/lang/Object;)I (I)V toBoolean (Ljava/lang/Object;)Z TRUE FALSE toNumber (Ljava/lang/Object;)D (D)V toObjectOrNull z(Lorg/mozilla/javascript/Context;Ljava/lang/Object;Lorg/mozilla/javascript/Scriptable;)Lorg/mozilla/javascript/Scriptable; ctor !()Ljava/lang/reflect/Constructor; equals getDeclaredMethods ()[Ljava/lang/reflect/Method;
getMethods getModifiers java/lang/reflect/Modifier isPublic (I)Z getClassName defineProperty K(Lorg/mozilla/javascript/Scriptable;Ljava/lang/String;Ljava/lang/Object;I)V setImmunePrototypeProperty (Ljava/lang/Object;)V setParentScope &(Lorg/mozilla/javascript/Scriptable;)V invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; isCtor newInstance '([Ljava/lang/Object;)Ljava/lang/Object;
isInstance getParentScope %()Lorg/mozilla/javascript/Scriptable;
typeError1 H(Ljava/lang/String;Ljava/lang/String;)Lorg/mozilla/javascript/EcmaError; clone ()Ljava/lang/Object; emptyArgs org/mozilla/javascript/Undefined instance getWrapFactory &()Lorg/mozilla/javascript/WrapFactory; "org/mozilla/javascript/WrapFactory wrap throwAsScriptRuntimeEx 3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; getClassPrototype setPrototype java/io/ObjectInputStream defaultReadObject ! g h i j k l n o k p q o k r
s t u v k w x v k y z v k { | v k } ~ v k ? v k ? ? v k ? ? ? ? ? ? ? ? ? v ? ? t ? ? v ? t ? ? ? ? ?*? ,? ? *? Y,? ? ? *? ? *? Y,? ? ? **? ? ? *? ?
:*+? *? ? :?6? ?2?
?
2?
? ?2?
? F*? ? .2? ? $2? ? ? 2? ?
2? ? ? ?*?? ? ?*? ? .2? ? $2? ? 2? ? ?
2? ? ? ?*? ? O*? ? D*?? 6? 22? 6? 2? ? ?*? ?T????*? ? ? /*? ? :? :? ? *? !? *? ? "? "*? ? #:? ? $? %? ? ?*-? &? ? ? ' w x y z " | 1 } <