@icecreamcake/autojs6-dts
Version:
TypeScript Declarations for AutoJs6
923 lines (904 loc) • 904 kB
TypeScript
declare module org {
export module mozilla {
export module classfile {
export class ByteCode extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ByteCode>;
public static NOP: number;
public static ACONST_NULL: number;
public static ICONST_M1: number;
public static ICONST_0: number;
public static ICONST_1: number;
public static ICONST_2: number;
public static ICONST_3: number;
public static ICONST_4: number;
public static ICONST_5: number;
public static LCONST_0: number;
public static LCONST_1: number;
public static FCONST_0: number;
public static FCONST_1: number;
public static FCONST_2: number;
public static DCONST_0: number;
public static DCONST_1: number;
public static BIPUSH: number;
public static SIPUSH: number;
public static LDC: number;
public static LDC_W: number;
public static LDC2_W: number;
public static ILOAD: number;
public static LLOAD: number;
public static FLOAD: number;
public static DLOAD: number;
public static ALOAD: number;
public static ILOAD_0: number;
public static ILOAD_1: number;
public static ILOAD_2: number;
public static ILOAD_3: number;
public static LLOAD_0: number;
public static LLOAD_1: number;
public static LLOAD_2: number;
public static LLOAD_3: number;
public static FLOAD_0: number;
public static FLOAD_1: number;
public static FLOAD_2: number;
public static FLOAD_3: number;
public static DLOAD_0: number;
public static DLOAD_1: number;
public static DLOAD_2: number;
public static DLOAD_3: number;
public static ALOAD_0: number;
public static ALOAD_1: number;
public static ALOAD_2: number;
public static ALOAD_3: number;
public static IALOAD: number;
public static LALOAD: number;
public static FALOAD: number;
public static DALOAD: number;
public static AALOAD: number;
public static BALOAD: number;
public static CALOAD: number;
public static SALOAD: number;
public static ISTORE: number;
public static LSTORE: number;
public static FSTORE: number;
public static DSTORE: number;
public static ASTORE: number;
public static ISTORE_0: number;
public static ISTORE_1: number;
public static ISTORE_2: number;
public static ISTORE_3: number;
public static LSTORE_0: number;
public static LSTORE_1: number;
public static LSTORE_2: number;
public static LSTORE_3: number;
public static FSTORE_0: number;
public static FSTORE_1: number;
public static FSTORE_2: number;
public static FSTORE_3: number;
public static DSTORE_0: number;
public static DSTORE_1: number;
public static DSTORE_2: number;
public static DSTORE_3: number;
public static ASTORE_0: number;
public static ASTORE_1: number;
public static ASTORE_2: number;
public static ASTORE_3: number;
public static IASTORE: number;
public static LASTORE: number;
public static FASTORE: number;
public static DASTORE: number;
public static AASTORE: number;
public static BASTORE: number;
public static CASTORE: number;
public static SASTORE: number;
public static POP: number;
public static POP2: number;
public static DUP: number;
public static DUP_X1: number;
public static DUP_X2: number;
public static DUP2: number;
public static DUP2_X1: number;
public static DUP2_X2: number;
public static SWAP: number;
public static IADD: number;
public static LADD: number;
public static FADD: number;
public static DADD: number;
public static ISUB: number;
public static LSUB: number;
public static FSUB: number;
public static DSUB: number;
public static IMUL: number;
public static LMUL: number;
public static FMUL: number;
public static DMUL: number;
public static IDIV: number;
public static LDIV: number;
public static FDIV: number;
public static DDIV: number;
public static IREM: number;
public static LREM: number;
public static FREM: number;
public static DREM: number;
public static INEG: number;
public static LNEG: number;
public static FNEG: number;
public static DNEG: number;
public static ISHL: number;
public static LSHL: number;
public static ISHR: number;
public static LSHR: number;
public static IUSHR: number;
public static LUSHR: number;
public static IAND: number;
public static LAND: number;
public static IOR: number;
public static LOR: number;
public static IXOR: number;
public static LXOR: number;
public static IINC: number;
public static I2L: number;
public static I2F: number;
public static I2D: number;
public static L2I: number;
public static L2F: number;
public static L2D: number;
public static F2I: number;
public static F2L: number;
public static F2D: number;
public static D2I: number;
public static D2L: number;
public static D2F: number;
public static I2B: number;
public static I2C: number;
public static I2S: number;
public static LCMP: number;
public static FCMPL: number;
public static FCMPG: number;
public static DCMPL: number;
public static DCMPG: number;
public static IFEQ: number;
public static IFNE: number;
public static IFLT: number;
public static IFGE: number;
public static IFGT: number;
public static IFLE: number;
public static IF_ICMPEQ: number;
public static IF_ICMPNE: number;
public static IF_ICMPLT: number;
public static IF_ICMPGE: number;
public static IF_ICMPGT: number;
public static IF_ICMPLE: number;
public static IF_ACMPEQ: number;
public static IF_ACMPNE: number;
public static GOTO: number;
public static JSR: number;
public static RET: number;
public static TABLESWITCH: number;
public static LOOKUPSWITCH: number;
public static IRETURN: number;
public static LRETURN: number;
public static FRETURN: number;
public static DRETURN: number;
public static ARETURN: number;
public static RETURN: number;
public static GETSTATIC: number;
public static PUTSTATIC: number;
public static GETFIELD: number;
public static PUTFIELD: number;
public static INVOKEVIRTUAL: number;
public static INVOKESPECIAL: number;
public static INVOKESTATIC: number;
public static INVOKEINTERFACE: number;
public static INVOKEDYNAMIC: number;
public static NEW: number;
public static NEWARRAY: number;
public static ANEWARRAY: number;
public static ARRAYLENGTH: number;
public static ATHROW: number;
public static CHECKCAST: number;
public static INSTANCEOF: number;
public static MONITORENTER: number;
public static MONITOREXIT: number;
public static WIDE: number;
public static MULTIANEWARRAY: number;
public static IFNULL: number;
public static IFNONNULL: number;
public static GOTO_W: number;
public static JSR_W: number;
public static BREAKPOINT: number;
public static IMPDEP1: number;
public static IMPDEP2: number;
public static T_BOOLEAN: number;
public static T_CHAR: number;
public static T_FLOAT: number;
public static T_DOUBLE: number;
public static T_BYTE: number;
public static T_SHORT: number;
public static T_INT: number;
public static T_LONG: number;
public static MH_GETFIELD: number;
public static MH_GETSTATIC: number;
public static MH_PUTFIELD: number;
public static MH_PUTSTATIC: number;
public static MH_INVOKEVIRTUAL: number;
public static MH_INVOKESTATIC: number;
public static MH_INVOKESPECIAL: number;
public static MH_NEWINVOKESPECIAL: number;
public static MH_INVOKEINTERFACE: number;
public constructor();
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class ClassFileField extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileField>;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class ClassFileMethod extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileMethod>;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class ClassFileWriter extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileWriter>;
public static ACC_PUBLIC: number;
public static ACC_PRIVATE: number;
public static ACC_PROTECTED: number;
public static ACC_STATIC: number;
public static ACC_FINAL: number;
public static ACC_SUPER: number;
public static ACC_SYNCHRONIZED: number;
public static ACC_VOLATILE: number;
public static ACC_TRANSIENT: number;
public static ACC_NATIVE: number;
public static ACC_ABSTRACT: number;
public static classNameToSignature(name: string): string;
public add(theOpCode: number, className: string, fieldName: string, fieldType: string): void;
public addIStore(local: number): void;
public getClassName(): string;
public addDLoad(local: number): void;
public addLLoad(local: number): void;
public addLineNumberEntry(lineNumber: number): void;
public addAStore(local: number): void;
public addPush(k: number): void;
public markLabel(label: number): void;
public add(theOpCode: number, className: string): void;
public markLabel(label: number, stackTop: number): void;
public addPush(k: string): void;
public markTableSwitchCase(switchStart: number, caseIndex: number, stackTop: number): void;
public write(oStream: java.io.OutputStream): void;
public addFLoad(local: number): void;
public addVariableDescriptor(name: string, type: string, startPC: number, register: number): void;
public add(theOpCode: number): void;
public addField(fieldName: string, type: string, flags: number, value: number): void;
public setStackTop(n: number): void;
public add(theOpCode: number, theOperand1: number, theOperand2: number): void;
public addTableSwitch(low: number, high: number): number;
public markHandler(theLabel: number): void;
public addFStore(local: number): void;
public setTableSwitchJump(switchStart: number, caseIndex: number, jumpTarget: number): void;
public addInterface(interfaceName: string): void;
public getCurrentCodeOffset(): number;
public addLoadConstant(k: string): void;
public getStackTop(): number;
public toByteArray(): number[];
public add(theOpCode: number, theOperand: number): void;
public addInvokeDynamic(methodName: string, methodType: string, bsm: org.mozilla.classfile.ClassFileWriter.MHandle, ...bsmArgs: any[]): void;
public setFlags(flags: number): void;
public addDStore(local: number): void;
public acquireLabel(): number;
public addALoad(local: number): void;
public markTableSwitchDefault(switchStart: number): void;
public addField(fieldName: string, type: string, flags: number): void;
public isUnderStringSizeLimit(k: string): boolean;
public addInvoke(theOpCode: number, className: string, methodName: string, methodType: string): void;
public addLoadConstant(k: number): void;
public addLStore(local: number): void;
public stopMethod(maxLocals: number): void;
public addILoad(local: number): void;
public addPush(k: boolean): void;
public adjustStackTop(delta: number): void;
public getLabelPC(label: number): number;
public addLoadThis(): void;
public constructor(className: string, superClassName: string, sourceFileName: string);
public startMethod(methodName: string, type: string, flags: number): void;
public addExceptionHandler(startLabel: number, endLabel: number, handlerLabel: number, catchClassName: string): void;
public markTableSwitchCase(switchStart: number, caseIndex: number): void;
}
export module ClassFileWriter {
export class BootstrapEntry extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileWriter.BootstrapEntry>;
public equals(obj: any): boolean;
public hashCode(): number;
}
export class ClassFileFormatException extends java.lang.RuntimeException {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileWriter.ClassFileFormatException>;
}
export class MHandle extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileWriter.MHandle>;
public equals(obj: any): boolean;
public toString(): string;
public constructor(tag: number, owner: string, name: string, desc: string);
public hashCode(): number;
}
export class StackMapTable extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ClassFileWriter.StackMapTable>;
}
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class ConstantEntry extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ConstantEntry>;
public equals(obj: any): boolean;
public hashCode(): number;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class ConstantPool extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ConstantPool>;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class ExceptionTableEntry extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.ExceptionTableEntry>;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class FieldOrMethodRef extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.FieldOrMethodRef>;
public getType(): string;
public getClassName(): string;
public equals(obj: any): boolean;
public hashCode(): number;
public getName(): string;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class SuperBlock extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.SuperBlock>;
public toString(): string;
}
}
}
}
declare module org {
export module mozilla {
export module classfile {
export class TypeInfo extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.classfile.TypeInfo>;
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class AbstractEcmaObjectOperations extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.AbstractEcmaObjectOperations>;
}
export module AbstractEcmaObjectOperations {
export class INTEGRITY_LEVEL {
public static class: java.lang.Class<org.mozilla.javascript.AbstractEcmaObjectOperations.INTEGRITY_LEVEL>;
public static FROZEN: org.mozilla.javascript.AbstractEcmaObjectOperations.INTEGRITY_LEVEL;
public static SEALED: org.mozilla.javascript.AbstractEcmaObjectOperations.INTEGRITY_LEVEL;
public static values(): org.mozilla.javascript.AbstractEcmaObjectOperations.INTEGRITY_LEVEL[];
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public static valueOf(name: string): org.mozilla.javascript.AbstractEcmaObjectOperations.INTEGRITY_LEVEL;
}
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class AccessorSlot extends org.mozilla.javascript.Slot {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot>;
public setValue(value: any, owner: org.mozilla.javascript.Scriptable, start: org.mozilla.javascript.Scriptable): boolean;
public getValue(start: org.mozilla.javascript.Scriptable): any;
public setValue(value: any, owner: org.mozilla.javascript.Scriptable, start: org.mozilla.javascript.Scriptable, isThrow: boolean): boolean;
}
export module AccessorSlot {
export class FunctionGetter extends java.lang.Object implements org.mozilla.javascript.AccessorSlot.Getter {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot.FunctionGetter>;
public getValue(start: org.mozilla.javascript.Scriptable): any;
public asGetterFunction(name: string, scope: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public asGetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public getValue(param0: org.mozilla.javascript.Scriptable): any;
}
export class FunctionSetter extends java.lang.Object implements org.mozilla.javascript.AccessorSlot.Setter {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot.FunctionSetter>;
public asSetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public asSetterFunction(name: string, scope: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public setValue(value: any, owner: org.mozilla.javascript.Scriptable, start: org.mozilla.javascript.Scriptable): boolean;
public setValue(param0: any, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable): boolean;
}
export class Getter extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot.Getter>;
/**
* Constructs a new instance of the org.mozilla.javascript.AccessorSlot$Getter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getValue(param0: org.mozilla.javascript.Scriptable): any;
asGetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
});
public constructor();
public asGetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public getValue(param0: org.mozilla.javascript.Scriptable): any;
}
export class MemberBoxGetter extends java.lang.Object implements org.mozilla.javascript.AccessorSlot.Getter {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot.MemberBoxGetter>;
public getValue(start: org.mozilla.javascript.Scriptable): any;
public asGetterFunction(name: string, scope: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public asGetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public getValue(param0: org.mozilla.javascript.Scriptable): any;
}
export class MemberBoxSetter extends java.lang.Object implements org.mozilla.javascript.AccessorSlot.Setter {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot.MemberBoxSetter>;
public asSetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public asSetterFunction(name: string, scope: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public setValue(value: any, owner: org.mozilla.javascript.Scriptable, start: org.mozilla.javascript.Scriptable): boolean;
public setValue(param0: any, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable): boolean;
}
export class Setter extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.AccessorSlot.Setter>;
/**
* Constructs a new instance of the org.mozilla.javascript.AccessorSlot$Setter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
setValue(param0: any, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable): boolean;
asSetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
});
public constructor();
public asSetterFunction(param0: string, param1: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Function;
public setValue(param0: any, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable): boolean;
}
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class Arguments extends org.mozilla.javascript.IdScriptableObject {
public static class: java.lang.Class<org.mozilla.javascript.Arguments>;
public getMaxInstanceId(): number;
public has(param0: number, param1: org.mozilla.javascript.Scriptable): boolean;
public setPrototype(param0: org.mozilla.javascript.Scriptable): void;
public delete(param0: org.mozilla.javascript.Symbol): void;
public getClassName(): string;
public put(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public execIdCall(f: org.mozilla.javascript.IdFunctionObject, cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public has(param0: string, param1: org.mozilla.javascript.Scriptable): boolean;
public constructor();
public execIdCall(param0: org.mozilla.javascript.IdFunctionObject, param1: org.mozilla.javascript.Context, param2: org.mozilla.javascript.Scriptable, param3: org.mozilla.javascript.Scriptable, param4: any[]): any;
public put(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public defineOwnProperty(cx: org.mozilla.javascript.Context, id: any, desc: org.mozilla.javascript.ScriptableObject): void;
public setInstanceIdValue(id: number, value: any): void;
public getDefaultValue(typeHint: java.lang.Class<any>): any;
public put(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public has(index: number, start: org.mozilla.javascript.Scriptable): boolean;
public findInstanceIdInfo(name: string): number;
public hasInstance(param0: org.mozilla.javascript.Scriptable): boolean;
public getPrototype(): org.mozilla.javascript.Scriptable;
public getDefaultValue(param0: java.lang.Class<any>): any;
public isConst(name: string): boolean;
public defineConst(name: string, start: org.mozilla.javascript.Scriptable): void;
public findInstanceIdInfo(s: string): number;
public defineConst(param0: string, param1: org.mozilla.javascript.Scriptable): void;
public getAllIds(): any[];
public put(param0: number, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public putConst(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public constructor(activation: org.mozilla.javascript.NativeCall);
public get(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): any;
public constructor(scope: org.mozilla.javascript.Scriptable, prototype: org.mozilla.javascript.Scriptable);
public delete(key: org.mozilla.javascript.Symbol): void;
public has(name: string, start: org.mozilla.javascript.Scriptable): boolean;
public findInstanceIdInfo(key: org.mozilla.javascript.Symbol): number;
public delete(param0: string): void;
public getInstanceIdValue(id: number): any;
public putConst(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public isConst(param0: string): boolean;
public get(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): any;
public hasInstance(instance: org.mozilla.javascript.Scriptable): boolean;
public delete(name: string): void;
public getInstanceIdName(id: number): string;
public setParentScope(m: org.mozilla.javascript.Scriptable): void;
public put(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable, value: any): void;
public put(index: number, start: org.mozilla.javascript.Scriptable, value: any): void;
public defineOwnProperty(cx: org.mozilla.javascript.Context, key: any, desc: org.mozilla.javascript.ScriptableObject, checkValid: boolean): void;
public getParentScope(): org.mozilla.javascript.Scriptable;
public static getDefaultValue(object: org.mozilla.javascript.Scriptable, typeHint: java.lang.Class<any>): any;
public get(param0: string, param1: org.mozilla.javascript.Scriptable): any;
public getIds(): any[];
public setInstanceIdAttributes(id: number, attr: number): void;
public get(param0: number, param1: org.mozilla.javascript.Scriptable): any;
public has(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): boolean;
public delete(index: number): void;
public setParentScope(param0: org.mozilla.javascript.Scriptable): void;
public get(index: number, start: org.mozilla.javascript.Scriptable): any;
public get(key: any): any;
public setPrototype(m: org.mozilla.javascript.Scriptable): void;
public has(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): boolean;
public get(name: string, start: org.mozilla.javascript.Scriptable): any;
public defineOwnProperty(cx: org.mozilla.javascript.Context, id: any, desc: org.mozilla.javascript.ScriptableObject, checkValid: boolean): void;
public delete(param0: number): void;
public getOwnPropertyDescriptor(cx: org.mozilla.javascript.Context, id: any): org.mozilla.javascript.ScriptableObject;
}
export module Arguments {
export class ThrowTypeError extends org.mozilla.javascript.BaseFunction {
public static class: java.lang.Class<org.mozilla.javascript.Arguments.ThrowTypeError>;
public setPrototype(m: org.mozilla.javascript.Scriptable): void;
public get(key: any): any;
public putConst(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public get(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): any;
public put(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public has(name: string, start: org.mozilla.javascript.Scriptable): boolean;
public delete(name: string): void;
public has(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): boolean;
public delete(param0: number): void;
public setParentScope(m: org.mozilla.javascript.Scriptable): void;
public put(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable, value: any): void;
public getDefaultValue(typeHint: java.lang.Class<any>): any;
public isConst(param0: string): boolean;
public has(param0: number, param1: org.mozilla.javascript.Scriptable): boolean;
public setPrototype(param0: org.mozilla.javascript.Scriptable): void;
public has(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): boolean;
public put(index: number, start: org.mozilla.javascript.Scriptable, value: any): void;
public get(name: string, start: org.mozilla.javascript.Scriptable): any;
public get(index: number, start: org.mozilla.javascript.Scriptable): any;
public get(param0: string, param1: org.mozilla.javascript.Scriptable): any;
public call(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable, param3: any[]): any;
public delete(key: org.mozilla.javascript.Symbol): void;
public static getDefaultValue(object: org.mozilla.javascript.Scriptable, typeHint: java.lang.Class<any>): any;
public put(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public getPrototype(): org.mozilla.javascript.Scriptable;
public putConst(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public getIds(): any[];
public has(param0: string, param1: org.mozilla.javascript.Scriptable): boolean;
public getClassName(): string;
public defineConst(name: string, start: org.mozilla.javascript.Scriptable): void;
public execIdCall(param0: org.mozilla.javascript.IdFunctionObject, param1: org.mozilla.javascript.Context, param2: org.mozilla.javascript.Scriptable, param3: org.mozilla.javascript.Scriptable, param4: any[]): any;
public getParentScope(): org.mozilla.javascript.Scriptable;
public delete(param0: string): void;
public getAllIds(): any[];
public construct(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: any[]): org.mozilla.javascript.Scriptable;
public execIdCall(f: org.mozilla.javascript.IdFunctionObject, cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public get(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): any;
public hasInstance(param0: org.mozilla.javascript.Scriptable): boolean;
public construct(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, args: any[]): org.mozilla.javascript.Scriptable;
public put(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public getDefaultValue(param0: java.lang.Class<any>): any;
public defineConst(param0: string, param1: org.mozilla.javascript.Scriptable): void;
public isConst(name: string): boolean;
public setParentScope(param0: org.mozilla.javascript.Scriptable): void;
public call(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public hasInstance(instance: org.mozilla.javascript.Scriptable): boolean;
public delete(index: number): void;
public put(param0: number, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public has(index: number, start: org.mozilla.javascript.Scriptable): boolean;
public delete(param0: org.mozilla.javascript.Symbol): void;
public get(param0: number, param1: org.mozilla.javascript.Scriptable): any;
}
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class ArrowFunction extends org.mozilla.javascript.BaseFunction {
public static class: java.lang.Class<org.mozilla.javascript.ArrowFunction>;
public has(param0: number, param1: org.mozilla.javascript.Scriptable): boolean;
public setPrototype(param0: org.mozilla.javascript.Scriptable): void;
public delete(param0: org.mozilla.javascript.Symbol): void;
public getClassName(): string;
public put(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public execIdCall(f: org.mozilla.javascript.IdFunctionObject, cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public construct(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: any[]): org.mozilla.javascript.Scriptable;
public has(param0: string, param1: org.mozilla.javascript.Scriptable): boolean;
public constructor();
public execIdCall(param0: org.mozilla.javascript.IdFunctionObject, param1: org.mozilla.javascript.Context, param2: org.mozilla.javascript.Scriptable, param3: org.mozilla.javascript.Scriptable, param4: any[]): any;
public put(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public getDefaultValue(typeHint: java.lang.Class<any>): any;
public put(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public has(index: number, start: org.mozilla.javascript.Scriptable): boolean;
public hasInstance(param0: org.mozilla.javascript.Scriptable): boolean;
public getPrototype(): org.mozilla.javascript.Scriptable;
public getDefaultValue(param0: java.lang.Class<any>): any;
public isConst(name: string): boolean;
public defineConst(name: string, start: org.mozilla.javascript.Scriptable): void;
public defineConst(param0: string, param1: org.mozilla.javascript.Scriptable): void;
public getAllIds(): any[];
public put(param0: number, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public putConst(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public get(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): any;
public constructor(scope: org.mozilla.javascript.Scriptable, prototype: org.mozilla.javascript.Scriptable);
public delete(key: org.mozilla.javascript.Symbol): void;
public call(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable, param3: any[]): any;
public construct(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, args: any[]): org.mozilla.javascript.Scriptable;
public constructor(isGenerator: boolean);
public has(name: string, start: org.mozilla.javascript.Scriptable): boolean;
public delete(param0: string): void;
public putConst(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public isConst(param0: string): boolean;
public getArity(): number;
public get(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): any;
public hasInstance(instance: org.mozilla.javascript.Scriptable): boolean;
public delete(name: string): void;
public setParentScope(m: org.mozilla.javascript.Scriptable): void;
public put(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable, value: any): void;
public put(index: number, start: org.mozilla.javascript.Scriptable, value: any): void;
public getParentScope(): org.mozilla.javascript.Scriptable;
public static getDefaultValue(object: org.mozilla.javascript.Scriptable, typeHint: java.lang.Class<any>): any;
public get(param0: string, param1: org.mozilla.javascript.Scriptable): any;
public getIds(): any[];
public get(param0: number, param1: org.mozilla.javascript.Scriptable): any;
public has(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): boolean;
public delete(index: number): void;
public setParentScope(param0: org.mozilla.javascript.Scriptable): void;
public get(index: number, start: org.mozilla.javascript.Scriptable): any;
public get(key: any): any;
public constructor(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, targetFunction: org.mozilla.javascript.Callable, boundThis: org.mozilla.javascript.Scriptable);
public setPrototype(m: org.mozilla.javascript.Scriptable): void;
public has(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): boolean;
public getLength(): number;
public call(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public get(name: string, start: org.mozilla.javascript.Scriptable): any;
public delete(param0: number): void;
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class BaseFunction extends org.mozilla.javascript.IdScriptableObject implements org.mozilla.javascript.Function {
public static class: java.lang.Class<org.mozilla.javascript.BaseFunction>;
public getMaxInstanceId(): number;
public has(param0: number, param1: org.mozilla.javascript.Scriptable): boolean;
public setPrototype(param0: org.mozilla.javascript.Scriptable): void;
public delete(param0: org.mozilla.javascript.Symbol): void;
public getClassName(): string;
public put(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public findPrototypeId(s: string): number;
public execIdCall(f: org.mozilla.javascript.IdFunctionObject, cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public construct(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: any[]): org.mozilla.javascript.Scriptable;
public getFunctionName(): string;
public has(param0: string, param1: org.mozilla.javascript.Scriptable): boolean;
public constructor();
public hasPrototypeProperty(): boolean;
public execIdCall(param0: org.mozilla.javascript.IdFunctionObject, param1: org.mozilla.javascript.Context, param2: org.mozilla.javascript.Scriptable, param3: org.mozilla.javascript.Scriptable, param4: any[]): any;
public put(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public setInstanceIdValue(id: number, value: any): void;
public getDefaultValue(typeHint: java.lang.Class<any>): any;
public put(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public has(index: number, start: org.mozilla.javascript.Scriptable): boolean;
public isGeneratorFunction(): boolean;
public findInstanceIdInfo(name: string): number;
public getClassPrototype(): org.mozilla.javascript.Scriptable;
public hasInstance(param0: org.mozilla.javascript.Scriptable): boolean;
public getPrototype(): org.mozilla.javascript.Scriptable;
public getDefaultValue(param0: java.lang.Class<any>): any;
public fillConstructorProperties(ctor: org.mozilla.javascript.IdFunctionObject): void;
public isConst(name: string): boolean;
public setPrototypePropertyAttributes(attributes: number): void;
public defineConst(name: string, start: org.mozilla.javascript.Scriptable): void;
public findPrototypeId(key: org.mozilla.javascript.Symbol): number;
public findInstanceIdInfo(s: string): number;
public defineConst(param0: string, param1: org.mozilla.javascript.Scriptable): void;
public getAllIds(): any[];
public put(param0: number, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public putConst(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public get(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): any;
public constructor(scope: org.mozilla.javascript.Scriptable, prototype: org.mozilla.javascript.Scriptable);
public delete(key: org.mozilla.javascript.Symbol): void;
public call(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable, param3: any[]): any;
public construct(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, args: any[]): org.mozilla.javascript.Scriptable;
public createObject(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable): org.mozilla.javascript.Scriptable;
public constructor(isGenerator: boolean);
public has(name: string, start: org.mozilla.javascript.Scriptable): boolean;
public findInstanceIdInfo(key: org.mozilla.javascript.Symbol): number;
public setImmunePrototypeProperty(value: any): void;
public delete(param0: string): void;
public getInstanceIdValue(id: number): any;
public setPrototypeProperty(prototype: any): void;
public putConst(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public isConst(param0: string): boolean;
public getArity(): number;
public get(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): any;
public getTypeOf(): string;
public hasInstance(instance: org.mozilla.javascript.Scriptable): boolean;
public static getClassPrototype(scope: org.mozilla.javascript.Scriptable, className: string): org.mozilla.javascript.Scriptable;
public getInstanceIdName(id: number): string;
public delete(name: string): void;
public setParentScope(m: org.mozilla.javascript.Scriptable): void;
public put(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable, value: any): void;
public put(index: number, start: org.mozilla.javascript.Scriptable, value: any): void;
public getParentScope(): org.mozilla.javascript.Scriptable;
public static getDefaultValue(object: org.mozilla.javascript.Scriptable, typeHint: java.lang.Class<any>): any;
public get(param0: string, param1: org.mozilla.javascript.Scriptable): any;
public getIds(): any[];
public setInstanceIdAttributes(id: number, attr: number): void;
public get(param0: number, param1: org.mozilla.javascript.Scriptable): any;
public has(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): boolean;
public delete(index: number): void;
public setParentScope(param0: org.mozilla.javascript.Scriptable): void;
public initPrototypeId(id: number): void;
public get(index: number, start: org.mozilla.javascript.Scriptable): any;
public get(key: any): any;
public setPrototype(m: org.mozilla.javascript.Scriptable): void;
public setStandardPropertyAttributes(attributes: number): void;
public has(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): boolean;
public getLength(): number;
public call(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public setupDefaultPrototype(): any;
public getPrototypeProperty(): any;
public get(name: string, start: org.mozilla.javascript.Scriptable): any;
public findPrototypeId(name: string): number;
public delete(param0: number): void;
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class BeanProperty extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.BeanProperty>;
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class BoundFunction extends org.mozilla.javascript.BaseFunction {
public static class: java.lang.Class<org.mozilla.javascript.BoundFunction>;
public has(param0: number, param1: org.mozilla.javascript.Scriptable): boolean;
public setPrototype(param0: org.mozilla.javascript.Scriptable): void;
public delete(param0: org.mozilla.javascript.Symbol): void;
public getClassName(): string;
public put(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public execIdCall(f: org.mozilla.javascript.IdFunctionObject, cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public construct(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: any[]): org.mozilla.javascript.Scriptable;
public getFunctionName(): string;
public has(param0: string, param1: org.mozilla.javascript.Scriptable): boolean;
public constructor();
public execIdCall(param0: org.mozilla.javascript.IdFunctionObject, param1: org.mozilla.javascript.Context, param2: org.mozilla.javascript.Scriptable, param3: org.mozilla.javascript.Scriptable, param4: any[]): any;
public put(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public getDefaultValue(typeHint: java.lang.Class<any>): any;
public put(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public has(index: number, start: org.mozilla.javascript.Scriptable): boolean;
public hasInstance(param0: org.mozilla.javascript.Scriptable): boolean;
public getPrototype(): org.mozilla.javascript.Scriptable;
public getDefaultValue(param0: java.lang.Class<any>): any;
public isConst(name: string): boolean;
public defineConst(name: string, start: org.mozilla.javascript.Scriptable): void;
public constructor(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, targetFunction: org.mozilla.javascript.Callable, boundThis: org.mozilla.javascript.Scriptable, boundArgs: any[]);
public defineConst(param0: string, param1: org.mozilla.javascript.Scriptable): void;
public getAllIds(): any[];
public put(param0: number, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public putConst(name: string, start: org.mozilla.javascript.Scriptable, value: any): void;
public get(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): any;
public constructor(scope: org.mozilla.javascript.Scriptable, prototype: org.mozilla.javascript.Scriptable);
public delete(key: org.mozilla.javascript.Symbol): void;
public call(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable, param3: any[]): any;
public construct(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, args: any[]): org.mozilla.javascript.Scriptable;
public constructor(isGenerator: boolean);
public has(name: string, start: org.mozilla.javascript.Scriptable): boolean;
public delete(param0: string): void;
public putConst(param0: string, param1: org.mozilla.javascript.Scriptable, param2: any): void;
public isConst(param0: string): boolean;
public get(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): any;
public construct(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, extraArgs: any[]): org.mozilla.javascript.Scriptable;
public hasInstance(instance: org.mozilla.javascript.Scriptable): boolean;
public delete(name: string): void;
public setParentScope(m: org.mozilla.javascript.Scriptable): void;
public put(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable, value: any): void;
public put(index: number, start: org.mozilla.javascript.Scriptable, value: any): void;
public getParentScope(): org.mozilla.javascript.Scriptable;
public static getDefaultValue(object: org.mozilla.javascript.Scriptable, typeHint: java.lang.Class<any>): any;
public get(param0: string, param1: org.mozilla.javascript.Scriptable): any;
public getIds(): any[];
public get(param0: number, param1: org.mozilla.javascript.Scriptable): any;
public has(param0: org.mozilla.javascript.Symbol, param1: org.mozilla.javascript.Scriptable): boolean;
public delete(index: number): void;
public setParentScope(param0: org.mozilla.javascript.Scriptable): void;
public get(index: number, start: org.mozilla.javascript.Scriptable): any;
public get(key: any): any;
public call(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, extraArgs: any[]): any;
public setPrototype(m: org.mozilla.javascript.Scriptable): void;
public has(key: org.mozilla.javascript.Symbol, start: org.mozilla.javascript.Scriptable): boolean;
public getLength(): number;
public call(cx: org.mozilla.javascript.Context, scope: org.mozilla.javascript.Scriptable, thisObj: org.mozilla.javascript.Scriptable, args: any[]): any;
public get(name: string, start: org.mozilla.javascript.Scriptable): any;
public delete(param0: number): void;
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class Callable extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.Callable>;
/**
* Constructs a new instance of the org.mozilla.javascript.Callable interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
call(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable, param3: any[]): any;
});
public constructor();
public call(param0: org.mozilla.javascript.Context, param1: org.mozilla.javascript.Scriptable, param2: org.mozilla.javascript.Scriptable, param3: any[]): any;
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class ClassCache extends java.lang.Object implements java.io.Serializable {
public static class: java.lang.Class<org.mozilla.javascript.ClassCache>;
public clearCaches(): void;
/** @deprecated */
public setInvokerOptimizationEnabled(enabled: boolean): void;
public setCachingEnabled(enabled: boolean): void;
/** @deprecated */
public isInvokerOptimizationEnabled(): boolean;
public static get(scope: org.mozilla.javascript.Scriptable): org.mozilla.javascript.ClassCache;
public associate(topScope: org.mozilla.javascript.ScriptableObject): boolean;
public newClassSerialNumber(): number;
public isCachingEnabled(): boolean;
public constructor();
}
export module ClassCache {
export class CacheKey extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.ClassCache.CacheKey>;
public equals(obj: any): boolean;
public constructor(cls: java.lang.Class<any>, securityContext: any);
public hashCode(): number;
}
}
}
}
}
declare module org {
export module mozilla {
export module javascript {
export class ClassShutter extends java.lang.Object {
public static class: java.lang.Class<org.mozilla.javascript.ClassShutter>;
/**
* Constructs a new instance of the org.mozilla.javascript.ClassShutter interface with the provided implementation. An empty constructor exists