@icecreamcake/autojs6-dts
Version:
TypeScript Declarations for AutoJs6
1,198 lines (1,161 loc) • 588 kB
TypeScript
declare module com {
export module android {
export module dex {
export class Annotation extends java.lang.Comparable<com.android.dex.Annotation> {
public static class: java.lang.Class<com.android.dex.Annotation>;
public getTypeIndex(): number;
public getReader(): com.android.dex.EncodedValueReader;
public getVisibility(): number;
public constructor(dex: com.android.dex.Dex, visibility: number, encodedAnnotation: com.android.dex.EncodedValue);
public toString(): string;
public compareTo(other: com.android.dex.Annotation): number;
public writeTo(out: com.android.dex.Dex.Section): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class CallSiteId extends java.lang.Comparable<com.android.dex.CallSiteId> {
public static class: java.lang.Class<com.android.dex.CallSiteId>;
public constructor(dex: com.android.dex.Dex, offset: number);
public getCallSiteOffset(): number;
public compareTo(o: com.android.dex.CallSiteId): number;
public toString(): string;
public writeTo(out: com.android.dex.Dex.Section): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class ClassData extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.ClassData>;
public getInstanceFields(): com.android.dex.ClassData.Field[];
public allMethods(): com.android.dex.ClassData.Method[];
public constructor(staticFields: com.android.dex.ClassData.Field[], instanceFields: com.android.dex.ClassData.Field[], directMethods: com.android.dex.ClassData.Method[], virtualMethods: com.android.dex.ClassData.Method[]);
public getStaticFields(): com.android.dex.ClassData.Field[];
public getDirectMethods(): com.android.dex.ClassData.Method[];
public getVirtualMethods(): com.android.dex.ClassData.Method[];
public allFields(): com.android.dex.ClassData.Field[];
}
export module ClassData {
export class Field extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.ClassData.Field>;
public constructor(fieldIndex: number, accessFlags: number);
public getAccessFlags(): number;
public getFieldIndex(): number;
}
export class Method extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.ClassData.Method>;
public getAccessFlags(): number;
public constructor(methodIndex: number, accessFlags: number, codeOffset: number);
public getMethodIndex(): number;
public getCodeOffset(): number;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export class ClassDef extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.ClassDef>;
public static NO_INDEX: number;
public getInterfacesOffset(): number;
public getSourceFileIndex(): number;
public getOffset(): number;
public getSupertypeIndex(): number;
public getTypeIndex(): number;
public getAnnotationsOffset(): number;
public constructor(buffer: com.android.dex.Dex, offset: number, typeIndex: number, accessFlags: number, supertypeIndex: number, interfacesOffset: number, sourceFileIndex: number, annotationsOffset: number, classDataOffset: number, staticValuesOffset: number);
public toString(): string;
public getClassDataOffset(): number;
public getAccessFlags(): number;
public getStaticValuesOffset(): number;
public getInterfaces(): number[];
}
}
}
}
declare module com {
export module android {
export module dex {
export class Code extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.Code>;
public getInstructions(): number[];
public getInsSize(): number;
public getOutsSize(): number;
public getRegistersSize(): number;
public getCatchHandlers(): com.android.dex.Code.CatchHandler[];
public getDebugInfoOffset(): number;
public getTries(): com.android.dex.Code.Try[];
public constructor(registersSize: number, insSize: number, outsSize: number, debugInfoOffset: number, instructions: number[], tries: com.android.dex.Code.Try[], catchHandlers: com.android.dex.Code.CatchHandler[]);
}
export module Code {
export class CatchHandler extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.Code.CatchHandler>;
public getCatchAllAddress(): number;
public constructor(typeIndexes: number[], addresses: number[], catchAllAddress: number, offset: number);
public getAddresses(): number[];
public getTypeIndexes(): number[];
public getOffset(): number;
}
export class Try extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.Code.Try>;
public getCatchHandlerIndex(): number;
public getStartAddress(): number;
public getInstructionCount(): number;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export class Dex extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.Dex>;
public appendSection(maxByteCount: number, name: string): com.android.dex.Dex.Section;
public writeTo(out: java.io.OutputStream): void;
public open(position: number): com.android.dex.Dex.Section;
public typeNames(): java.util.List<string>;
public readCode(method: com.android.dex.ClassData.Method): com.android.dex.Code;
public getTableOfContents(): com.android.dex.TableOfContents;
public constructor(data: number[]);
public getNextSectionStart(): number;
public protoIds(): java.util.List<com.android.dex.ProtoId>;
public constructor(file: java.io.File);
public strings(): java.util.List<string>;
public writeTo(dexOut: java.io.File): void;
public computeChecksum(): number;
public classDefs(): java.lang.Iterable<com.android.dex.ClassDef>;
public computeSignature(): number[];
public constructor(_in_: java.io.InputStream);
public readClassData(classDef: com.android.dex.ClassDef): com.android.dex.ClassData;
public descriptorIndexFromTypeIndex(typeIndex: number): number;
public constructor(byteCount: number);
public getLength(): number;
public writeHashes(): void;
public fieldIds(): java.util.List<com.android.dex.FieldId>;
public typeIds(): java.util.List<java.lang.Integer>;
public getBytes(): number[];
public readTypeList(offset: number): com.android.dex.TypeList;
public methodIds(): java.util.List<com.android.dex.MethodId>;
}
export module Dex {
export class ClassDefIterable extends java.lang.Iterable<com.android.dex.ClassDef> {
public static class: java.lang.Class<com.android.dex.Dex.ClassDefIterable>;
public iterator(): java.util.Iterator<any>;
public spliterator(): java.util.Spliterator<any>;
public iterator(): java.util.Iterator<com.android.dex.ClassDef>;
public forEach(action: any /* any*/): void;
}
export class ClassDefIterator extends java.util.Iterator<com.android.dex.ClassDef> {
public static class: java.lang.Class<com.android.dex.Dex.ClassDefIterator>;
public next(): com.android.dex.ClassDef;
public hasNext(): boolean;
public remove(): void;
}
export class FieldIdTable extends java.util.AbstractList<com.android.dex.FieldId> implements java.util.RandomAccess {
public static class: java.lang.Class<com.android.dex.Dex.FieldIdTable>;
public isEmpty(): boolean;
public spliterator(): java.util.Spliterator<any>;
public size(): number;
public lastIndexOf(param0: any): number;
public equals(o: any): boolean;
public lastIndexOf(o: any): number;
public iterator(): java.util.Iterator<any>;
public toArray(param0: any[]): any[];
public get(param0: number): any;
public remove(o: any): boolean;
public listIterator(index: number): java.util.ListIterator<any>;
public toArray(a: any[]): any[];
public toArray(): any[];
public add(param0: number, param1: any): void;
public sort(c: java.util.Comparator<any>): void;
public get(index: number): com.android.dex.FieldId;
public add(index: number, element: any): void;
public set(param0: number, param1: any): any;
public replaceAll(operator: any /* any*/): void;
public addAll(param0: java.util.Collection<any>): boolean;
public add(param0: any): boolean;
public containsAll(param0: java.util.Collection<any>): boolean;
public subList(fromIndex: number, toIndex: number): java.util.List<any>;
public addAll(c: java.util.Collection<any>): boolean;
public set(index: number, element: any): any;
public remove(index: number): any;
public contains(o: any): boolean;
public remove(param0: number): any;
public removeAll(c: java.util.Collection<any>): boolean;
public clear(): void;
public subList(param0: number, param1: number): java.util.List<any>;
public listIterator(param0: number): java.util.ListIterator<any>;
public containsAll(c: java.util.Collection<any>): boolean;
public hashCode(): number;
public contains(param0: any): boolean;
public remove(param0: any): boolean;
public removeAll(param0: java.util.Collection<any>): boolean;
public parallelStream(): java.util.stream.Stream<any>;
public add(e: any): boolean;
public addAll(param0: number, param1: java.util.Collection<any>): boolean;
public retainAll(c: java.util.Collection<any>): boolean;
public retainAll(param0: java.util.Collection<any>): boolean;
public indexOf(o: any): number;
public indexOf(param0: any): number;
public equals(param0: any): boolean;
public removeIf(filter: any /* any*/): boolean;
public addAll(index: number, c: java.util.Collection<any>): boolean;
public listIterator(): java.util.ListIterator<any>;
public stream(): java.util.stream.Stream<any>;
}
export class MethodIdTable extends java.util.AbstractList<com.android.dex.MethodId> implements java.util.RandomAccess {
public static class: java.lang.Class<com.android.dex.Dex.MethodIdTable>;
public isEmpty(): boolean;
public spliterator(): java.util.Spliterator<any>;
public size(): number;
public lastIndexOf(param0: any): number;
public equals(o: any): boolean;
public lastIndexOf(o: any): number;
public iterator(): java.util.Iterator<any>;
public toArray(param0: any[]): any[];
public get(param0: number): any;
public remove(o: any): boolean;
public listIterator(index: number): java.util.ListIterator<any>;
public toArray(a: any[]): any[];
public toArray(): any[];
public add(param0: number, param1: any): void;
public sort(c: java.util.Comparator<any>): void;
public add(index: number, element: any): void;
public set(param0: number, param1: any): any;
public replaceAll(operator: any /* any*/): void;
public addAll(param0: java.util.Collection<any>): boolean;
public add(param0: any): boolean;
public containsAll(param0: java.util.Collection<any>): boolean;
public subList(fromIndex: number, toIndex: number): java.util.List<any>;
public addAll(c: java.util.Collection<any>): boolean;
public set(index: number, element: any): any;
public remove(index: number): any;
public get(index: number): com.android.dex.MethodId;
public contains(o: any): boolean;
public remove(param0: number): any;
public removeAll(c: java.util.Collection<any>): boolean;
public clear(): void;
public subList(param0: number, param1: number): java.util.List<any>;
public listIterator(param0: number): java.util.ListIterator<any>;
public containsAll(c: java.util.Collection<any>): boolean;
public hashCode(): number;
public contains(param0: any): boolean;
public remove(param0: any): boolean;
public removeAll(param0: java.util.Collection<any>): boolean;
public parallelStream(): java.util.stream.Stream<any>;
public add(e: any): boolean;
public addAll(param0: number, param1: java.util.Collection<any>): boolean;
public retainAll(c: java.util.Collection<any>): boolean;
public retainAll(param0: java.util.Collection<any>): boolean;
public indexOf(o: any): number;
public indexOf(param0: any): number;
public equals(param0: any): boolean;
public removeIf(filter: any /* any*/): boolean;
public addAll(index: number, c: java.util.Collection<any>): boolean;
public listIterator(): java.util.ListIterator<any>;
public stream(): java.util.stream.Stream<any>;
}
export class ProtoIdTable extends java.util.AbstractList<com.android.dex.ProtoId> implements java.util.RandomAccess {
public static class: java.lang.Class<com.android.dex.Dex.ProtoIdTable>;
public isEmpty(): boolean;
public spliterator(): java.util.Spliterator<any>;
public size(): number;
public lastIndexOf(param0: any): number;
public equals(o: any): boolean;
public lastIndexOf(o: any): number;
public iterator(): java.util.Iterator<any>;
public toArray(param0: any[]): any[];
public get(param0: number): any;
public remove(o: any): boolean;
public listIterator(index: number): java.util.ListIterator<any>;
public toArray(a: any[]): any[];
public toArray(): any[];
public add(param0: number, param1: any): void;
public sort(c: java.util.Comparator<any>): void;
public add(index: number, element: any): void;
public set(param0: number, param1: any): any;
public replaceAll(operator: any /* any*/): void;
public addAll(param0: java.util.Collection<any>): boolean;
public add(param0: any): boolean;
public containsAll(param0: java.util.Collection<any>): boolean;
public subList(fromIndex: number, toIndex: number): java.util.List<any>;
public addAll(c: java.util.Collection<any>): boolean;
public set(index: number, element: any): any;
public get(index: number): com.android.dex.ProtoId;
public remove(index: number): any;
public contains(o: any): boolean;
public remove(param0: number): any;
public removeAll(c: java.util.Collection<any>): boolean;
public clear(): void;
public subList(param0: number, param1: number): java.util.List<any>;
public listIterator(param0: number): java.util.ListIterator<any>;
public containsAll(c: java.util.Collection<any>): boolean;
public hashCode(): number;
public contains(param0: any): boolean;
public remove(param0: any): boolean;
public removeAll(param0: java.util.Collection<any>): boolean;
public parallelStream(): java.util.stream.Stream<any>;
public add(e: any): boolean;
public addAll(param0: number, param1: java.util.Collection<any>): boolean;
public retainAll(c: java.util.Collection<any>): boolean;
public retainAll(param0: java.util.Collection<any>): boolean;
public indexOf(o: any): number;
public indexOf(param0: any): number;
public equals(param0: any): boolean;
public removeIf(filter: any /* any*/): boolean;
public addAll(index: number, c: java.util.Collection<any>): boolean;
public listIterator(): java.util.ListIterator<any>;
public stream(): java.util.stream.Stream<any>;
}
export class Section extends java.lang.Object implements com.android.dex.util.ByteInput, com.android.dex.util.ByteOutput {
public static class: java.lang.Class<com.android.dex.Dex.Section>;
public readSleb128(): number;
public readCallSiteId(): com.android.dex.CallSiteId;
public writeSleb128(i: number): void;
public write(bytes: number[]): void;
public readProtoId(): com.android.dex.ProtoId;
public alignToFourBytesWithZeroFill(): void;
public writeUleb128p1(i: number): void;
public writeByte(b: number): void;
public readShort(): number;
public writeInt(i: number): void;
public readByteArray(length: number): number[];
public readTypeList(): com.android.dex.TypeList;
public write(shorts: number[]): void;
public readInt(): number;
public readFieldId(): com.android.dex.FieldId;
public readClassDef(): com.android.dex.ClassDef;
public writeTypeList(typeList: com.android.dex.TypeList): void;
public used(): number;
public skip(count: number): void;
public writeShort(i: number): void;
public readMethodId(): com.android.dex.MethodId;
public alignToFourBytes(): void;
public readUnsignedShort(): number;
public readUleb128p1(): number;
public writeUleb128(i: number): void;
public readByte(): number;
public readAnnotation(): com.android.dex.Annotation;
public readMethodHandle(): com.android.dex.MethodHandle;
public writeByte(param0: number): void;
public readShortArray(length: number): number[];
public assertFourByteAligned(): void;
public writeUnsignedShort(i: number): void;
public readEncodedArray(): com.android.dex.EncodedValue;
public getPosition(): number;
public readUleb128(): number;
public readString(): string;
public writeStringData(value: string): void;
}
export class StringTable extends java.util.AbstractList<string> implements java.util.RandomAccess {
public static class: java.lang.Class<com.android.dex.Dex.StringTable>;
public isEmpty(): boolean;
public spliterator(): java.util.Spliterator<any>;
public size(): number;
public lastIndexOf(param0: any): number;
public equals(o: any): boolean;
public lastIndexOf(o: any): number;
public iterator(): java.util.Iterator<any>;
public toArray(param0: any[]): any[];
public get(param0: number): any;
public remove(o: any): boolean;
public listIterator(index: number): java.util.ListIterator<any>;
public toArray(a: any[]): any[];
public toArray(): any[];
public add(param0: number, param1: any): void;
public get(index: number): string;
public sort(c: java.util.Comparator<any>): void;
public add(index: number, element: any): void;
public set(param0: number, param1: any): any;
public replaceAll(operator: any /* any*/): void;
public addAll(param0: java.util.Collection<any>): boolean;
public add(param0: any): boolean;
public containsAll(param0: java.util.Collection<any>): boolean;
public subList(fromIndex: number, toIndex: number): java.util.List<any>;
public addAll(c: java.util.Collection<any>): boolean;
public set(index: number, element: any): any;
public remove(index: number): any;
public contains(o: any): boolean;
public remove(param0: number): any;
public removeAll(c: java.util.Collection<any>): boolean;
public clear(): void;
public subList(param0: number, param1: number): java.util.List<any>;
public listIterator(param0: number): java.util.ListIterator<any>;
public containsAll(c: java.util.Collection<any>): boolean;
public hashCode(): number;
public contains(param0: any): boolean;
public remove(param0: any): boolean;
public removeAll(param0: java.util.Collection<any>): boolean;
public parallelStream(): java.util.stream.Stream<any>;
public add(e: any): boolean;
public addAll(param0: number, param1: java.util.Collection<any>): boolean;
public retainAll(c: java.util.Collection<any>): boolean;
public retainAll(param0: java.util.Collection<any>): boolean;
public indexOf(o: any): number;
public indexOf(param0: any): number;
public equals(param0: any): boolean;
public removeIf(filter: any /* any*/): boolean;
public addAll(index: number, c: java.util.Collection<any>): boolean;
public listIterator(): java.util.ListIterator<any>;
public stream(): java.util.stream.Stream<any>;
}
export class TypeIndexToDescriptorIndexTable extends java.util.AbstractList<java.lang.Integer> implements java.util.RandomAccess {
public static class: java.lang.Class<com.android.dex.Dex.TypeIndexToDescriptorIndexTable>;
public isEmpty(): boolean;
public spliterator(): java.util.Spliterator<any>;
public size(): number;
public lastIndexOf(param0: any): number;
public equals(o: any): boolean;
public lastIndexOf(o: any): number;
public iterator(): java.util.Iterator<any>;
public toArray(param0: any[]): any[];
public get(param0: number): any;
public remove(o: any): boolean;
public listIterator(index: number): java.util.ListIterator<any>;
public toArray(a: any[]): any[];
public toArray(): any[];
public add(param0: number, param1: any): void;
public sort(c: java.util.Comparator<any>): void;
public add(index: number, element: any): void;
public set(param0: number, param1: any): any;
public replaceAll(operator: any /* any*/): void;
public addAll(param0: java.util.Collection<any>): boolean;
public add(param0: any): boolean;
public containsAll(param0: java.util.Collection<any>): boolean;
public subList(fromIndex: number, toIndex: number): java.util.List<any>;
public addAll(c: java.util.Collection<any>): boolean;
public set(index: number, element: any): any;
public remove(index: number): any;
public contains(o: any): boolean;
public remove(param0: number): any;
public removeAll(c: java.util.Collection<any>): boolean;
public get(index: number): java.lang.Integer;
public clear(): void;
public subList(param0: number, param1: number): java.util.List<any>;
public listIterator(param0: number): java.util.ListIterator<any>;
public containsAll(c: java.util.Collection<any>): boolean;
public hashCode(): number;
public contains(param0: any): boolean;
public remove(param0: any): boolean;
public removeAll(param0: java.util.Collection<any>): boolean;
public parallelStream(): java.util.stream.Stream<any>;
public add(e: any): boolean;
public addAll(param0: number, param1: java.util.Collection<any>): boolean;
public retainAll(c: java.util.Collection<any>): boolean;
public retainAll(param0: java.util.Collection<any>): boolean;
public indexOf(o: any): number;
public indexOf(param0: any): number;
public equals(param0: any): boolean;
public removeIf(filter: any /* any*/): boolean;
public addAll(index: number, c: java.util.Collection<any>): boolean;
public listIterator(): java.util.ListIterator<any>;
public stream(): java.util.stream.Stream<any>;
}
export class TypeIndexToDescriptorTable extends java.util.AbstractList<string> implements java.util.RandomAccess {
public static class: java.lang.Class<com.android.dex.Dex.TypeIndexToDescriptorTable>;
public isEmpty(): boolean;
public spliterator(): java.util.Spliterator<any>;
public size(): number;
public lastIndexOf(param0: any): number;
public equals(o: any): boolean;
public lastIndexOf(o: any): number;
public iterator(): java.util.Iterator<any>;
public toArray(param0: any[]): any[];
public get(param0: number): any;
public remove(o: any): boolean;
public listIterator(index: number): java.util.ListIterator<any>;
public toArray(a: any[]): any[];
public toArray(): any[];
public add(param0: number, param1: any): void;
public get(index: number): string;
public sort(c: java.util.Comparator<any>): void;
public add(index: number, element: any): void;
public set(param0: number, param1: any): any;
public replaceAll(operator: any /* any*/): void;
public addAll(param0: java.util.Collection<any>): boolean;
public add(param0: any): boolean;
public containsAll(param0: java.util.Collection<any>): boolean;
public subList(fromIndex: number, toIndex: number): java.util.List<any>;
public addAll(c: java.util.Collection<any>): boolean;
public set(index: number, element: any): any;
public remove(index: number): any;
public contains(o: any): boolean;
public remove(param0: number): any;
public removeAll(c: java.util.Collection<any>): boolean;
public clear(): void;
public subList(param0: number, param1: number): java.util.List<any>;
public listIterator(param0: number): java.util.ListIterator<any>;
public containsAll(c: java.util.Collection<any>): boolean;
public hashCode(): number;
public contains(param0: any): boolean;
public remove(param0: any): boolean;
public removeAll(param0: java.util.Collection<any>): boolean;
public parallelStream(): java.util.stream.Stream<any>;
public add(e: any): boolean;
public addAll(param0: number, param1: java.util.Collection<any>): boolean;
public retainAll(c: java.util.Collection<any>): boolean;
public retainAll(param0: java.util.Collection<any>): boolean;
public indexOf(o: any): number;
public indexOf(param0: any): number;
public equals(param0: any): boolean;
public removeIf(filter: any /* any*/): boolean;
public addAll(index: number, c: java.util.Collection<any>): boolean;
public listIterator(): java.util.ListIterator<any>;
public stream(): java.util.stream.Stream<any>;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export class DexException extends com.android.dex.util.ExceptionWithContext {
public static class: java.lang.Class<com.android.dex.DexException>;
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
}
declare module com {
export module android {
export module dex {
export class DexFormat extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.DexFormat>;
public static API_INVOKE_POLYMORPHIC: number;
public static API_DEFAULT_INTERFACE_METHODS: number;
public static API_NO_EXTENDED_OPCODES: number;
public static API_CURRENT: number;
public static VERSION_FOR_API_26: string;
public static VERSION_FOR_API_24: string;
public static VERSION_FOR_API_13: string;
public static VERSION_CURRENT: string;
public static DEX_IN_JAR_NAME: string;
public static MAGIC_PREFIX: string;
public static MAGIC_SUFFIX: string;
public static ENDIAN_TAG: number;
public static MAX_MEMBER_IDX: number;
public static MAX_TYPE_IDX: number;
public static apiToMagic(targetApiLevel: number): string;
public static magicToApi(magic: number[]): number;
public static isSupportedDexMagic(magic: number[]): boolean;
}
}
}
}
declare module com {
export module android {
export module dex {
export class DexIndexOverflowException extends com.android.dex.DexException {
public static class: java.lang.Class<com.android.dex.DexIndexOverflowException>;
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
}
declare module com {
export module android {
export module dex {
export class EncodedValue extends java.lang.Comparable<com.android.dex.EncodedValue> {
public static class: java.lang.Class<com.android.dex.EncodedValue>;
public compareTo(other: com.android.dex.EncodedValue): number;
public asByteInput(): com.android.dex.util.ByteInput;
public getBytes(): number[];
public constructor(data: number[]);
public toString(): string;
public writeTo(out: com.android.dex.Dex.Section): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class EncodedValueCodec extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.EncodedValueCodec>;
public static readUnsignedInt(_in_: com.android.dex.util.ByteInput, zwidth: number, fillOnRight: boolean): number;
public static readSignedLong(_in_: com.android.dex.util.ByteInput, zwidth: number): number;
public static readUnsignedLong(_in_: com.android.dex.util.ByteInput, zwidth: number, fillOnRight: boolean): number;
public static writeUnsignedIntegralValue(out: com.android.dex.util.ByteOutput, type: number, value: number): void;
public static writeSignedIntegralValue(out: com.android.dex.util.ByteOutput, type: number, value: number): void;
public static writeRightZeroExtendedValue(out: com.android.dex.util.ByteOutput, type: number, value: number): void;
public static readSignedInt(_in_: com.android.dex.util.ByteInput, zwidth: number): number;
}
}
}
}
declare module com {
export module android {
export module dex {
export class EncodedValueReader extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.EncodedValueReader>;
public static ENCODED_BYTE: number;
public static ENCODED_SHORT: number;
public static ENCODED_CHAR: number;
public static ENCODED_INT: number;
public static ENCODED_LONG: number;
public static ENCODED_FLOAT: number;
public static ENCODED_DOUBLE: number;
public static ENCODED_METHOD_TYPE: number;
public static ENCODED_METHOD_HANDLE: number;
public static ENCODED_STRING: number;
public static ENCODED_TYPE: number;
public static ENCODED_FIELD: number;
public static ENCODED_ENUM: number;
public static ENCODED_METHOD: number;
public static ENCODED_ARRAY: number;
public static ENCODED_ANNOTATION: number;
public static ENCODED_NULL: number;
public static ENCODED_BOOLEAN: number;
public _in_: com.android.dex.util.ByteInput;
public readType(): number;
public readChar(): string;
public getAnnotationType(): number;
public readAnnotation(): number;
public constructor(_in_: com.android.dex.util.ByteInput, knownType: number);
public readString(): number;
public readByte(): number;
public readShort(): number;
public readMethodType(): number;
public readLong(): number;
public readDouble(): number;
public readFloat(): number;
public readEnum(): number;
public peek(): number;
public readArray(): number;
public readInt(): number;
public constructor(_in_: com.android.dex.util.ByteInput);
public constructor(_in_: com.android.dex.EncodedValue, knownType: number);
public readMethodHandle(): number;
public readNull(): void;
public skipValue(): void;
public readField(): number;
public constructor(_in_: com.android.dex.EncodedValue);
public readAnnotationName(): number;
public readMethod(): number;
public readBoolean(): boolean;
}
}
}
}
declare module com {
export module android {
export module dex {
export class FieldId extends java.lang.Comparable<com.android.dex.FieldId> {
public static class: java.lang.Class<com.android.dex.FieldId>;
public getTypeIndex(): number;
public getDeclaringClassIndex(): number;
public getNameIndex(): number;
public constructor(dex: com.android.dex.Dex, declaringClassIndex: number, typeIndex: number, nameIndex: number);
public compareTo(other: com.android.dex.FieldId): number;
public toString(): string;
public writeTo(out: com.android.dex.Dex.Section): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class Leb128 extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.Leb128>;
public static unsignedLeb128Size(value: number): number;
public static readSignedLeb128(_in_: com.android.dex.util.ByteInput): number;
public static writeSignedLeb128(out: com.android.dex.util.ByteOutput, value: number): void;
public static readUnsignedLeb128(_in_: com.android.dex.util.ByteInput): number;
public static writeUnsignedLeb128(out: com.android.dex.util.ByteOutput, value: number): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class MethodHandle extends java.lang.Comparable<com.android.dex.MethodHandle> {
public static class: java.lang.Class<com.android.dex.MethodHandle>;
public getMethodHandleType(): com.android.dex.MethodHandle.MethodHandleType;
public getUnused2(): number;
public getFieldOrMethodId(): number;
public getUnused1(): number;
public constructor(dex: com.android.dex.Dex, methodHandleType: com.android.dex.MethodHandle.MethodHandleType, unused1: number, fieldOrMethodId: number, unused2: number);
public compareTo(o: com.android.dex.MethodHandle): number;
public toString(): string;
public writeTo(out: com.android.dex.Dex.Section): void;
}
export module MethodHandle {
export class MethodHandleType {
public static class: java.lang.Class<com.android.dex.MethodHandle.MethodHandleType>;
public static METHOD_HANDLE_TYPE_STATIC_PUT: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_STATIC_GET: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INSTANCE_PUT: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INSTANCE_GET: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INVOKE_STATIC: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INVOKE_INSTANCE: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INVOKE_DIRECT: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INVOKE_CONSTRUCTOR: com.android.dex.MethodHandle.MethodHandleType;
public static METHOD_HANDLE_TYPE_INVOKE_INTERFACE: com.android.dex.MethodHandle.MethodHandleType;
public static values(): com.android.dex.MethodHandle.MethodHandleType[];
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public static valueOf(name: string): com.android.dex.MethodHandle.MethodHandleType;
public isField(): boolean;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export class MethodId extends java.lang.Comparable<com.android.dex.MethodId> {
public static class: java.lang.Class<com.android.dex.MethodId>;
public getDeclaringClassIndex(): number;
public getNameIndex(): number;
public constructor(dex: com.android.dex.Dex, declaringClassIndex: number, protoIndex: number, nameIndex: number);
public toString(): string;
public getProtoIndex(): number;
public compareTo(other: com.android.dex.MethodId): number;
public writeTo(out: com.android.dex.Dex.Section): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class Mutf8 extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.Mutf8>;
public static encode(dst: number[], offset: number, s: string): void;
public static decode(_in_: com.android.dex.util.ByteInput, out: string[]): string;
public static encode(s: string): number[];
}
}
}
}
declare module com {
export module android {
export module dex {
export class ProtoId extends java.lang.Comparable<com.android.dex.ProtoId> {
public static class: java.lang.Class<com.android.dex.ProtoId>;
public compareTo(other: com.android.dex.ProtoId): number;
public getReturnTypeIndex(): number;
public getParametersOffset(): number;
public getShortyIndex(): number;
public constructor(dex: com.android.dex.Dex, shortyIndex: number, returnTypeIndex: number, parametersOffset: number);
public toString(): string;
public writeTo(out: com.android.dex.Dex.Section): void;
}
}
}
}
declare module com {
export module android {
export module dex {
export class SizeOf extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.SizeOf>;
public static UBYTE: number;
public static USHORT: number;
public static UINT: number;
public static SIGNATURE: number;
public static HEADER_ITEM: number;
public static STRING_ID_ITEM: number;
public static TYPE_ID_ITEM: number;
public static TYPE_ITEM: number;
public static PROTO_ID_ITEM: number;
public static MEMBER_ID_ITEM: number;
public static CLASS_DEF_ITEM: number;
public static MAP_ITEM: number;
public static TRY_ITEM: number;
public static CALL_SITE_ID_ITEM: number;
public static METHOD_HANDLE_ITEM: number;
}
}
}
}
declare module com {
export module android {
export module dex {
export class TableOfContents extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.TableOfContents>;
public header: com.android.dex.TableOfContents.Section;
public stringIds: com.android.dex.TableOfContents.Section;
public typeIds: com.android.dex.TableOfContents.Section;
public protoIds: com.android.dex.TableOfContents.Section;
public fieldIds: com.android.dex.TableOfContents.Section;
public methodIds: com.android.dex.TableOfContents.Section;
public classDefs: com.android.dex.TableOfContents.Section;
public callSiteIds: com.android.dex.TableOfContents.Section;
public methodHandles: com.android.dex.TableOfContents.Section;
public mapList: com.android.dex.TableOfContents.Section;
public typeLists: com.android.dex.TableOfContents.Section;
public annotationSetRefLists: com.android.dex.TableOfContents.Section;
public annotationSets: com.android.dex.TableOfContents.Section;
public classDatas: com.android.dex.TableOfContents.Section;
public codes: com.android.dex.TableOfContents.Section;
public stringDatas: com.android.dex.TableOfContents.Section;
public debugInfos: com.android.dex.TableOfContents.Section;
public annotations: com.android.dex.TableOfContents.Section;
public encodedArrays: com.android.dex.TableOfContents.Section;
public annotationsDirectories: com.android.dex.TableOfContents.Section;
public sections: com.android.dex.TableOfContents.Section[];
public apiLevel: number;
public checksum: number;
public signature: number[];
public fileSize: number;
public linkSize: number;
public linkOff: number;
public dataSize: number;
public dataOff: number;
public writeHeader(out: com.android.dex.Dex.Section, api: number): void;
public readFrom(dex: com.android.dex.Dex): void;
public writeMap(out: com.android.dex.Dex.Section): void;
public computeSizesFromOffsets(): void;
public constructor();
}
export module TableOfContents {
export class Section extends java.lang.Comparable<com.android.dex.TableOfContents.Section> {
public static class: java.lang.Class<com.android.dex.TableOfContents.Section>;
public type: number;
public size: number;
public off: number;
public byteCount: number;
public constructor(type: number);
public toString(): string;
public compareTo(section: com.android.dex.TableOfContents.Section): number;
public exists(): boolean;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export class TypeList extends java.lang.Comparable<com.android.dex.TypeList> {
public static class: java.lang.Class<com.android.dex.TypeList>;
public static EMPTY: com.android.dex.TypeList;
public constructor(dex: com.android.dex.Dex, types: number[]);
public compareTo(other: com.android.dex.TypeList): number;
public getTypes(): number[];
public toString(): string;
}
}
}
}
declare module com {
export module android {
export module dex {
export module util {
export class ByteArrayByteInput extends java.lang.Object implements com.android.dex.util.ByteInput {
public static class: java.lang.Class<com.android.dex.util.ByteArrayByteInput>;
public constructor(...bytes: number[]);
public readByte(): number;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export module util {
export class ByteInput extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.util.ByteInput>;
/**
* Constructs a new instance of the com.android.dex.util.ByteInput interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
readByte(): number;
});
public constructor();
public readByte(): number;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export module util {
export class ByteOutput extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.util.ByteOutput>;
/**
* Constructs a new instance of the com.android.dex.util.ByteOutput interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
writeByte(param0: number): void;
});
public constructor();
public writeByte(param0: number): void;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export module util {
export class ExceptionWithContext extends java.lang.RuntimeException {
public static class: java.lang.Class<com.android.dex.util.ExceptionWithContext>;
public addContext(str: string): void;
public printStackTrace(s: java.io.PrintWriter): void;
public printStackTrace(s: java.io.PrintStream): void;
public printStackTrace(): void;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public printContext(out: java.io.PrintStream): void;
public printContext(out: java.io.PrintWriter): void;
public printStackTrace(out: java.io.PrintStream): void;
public constructor();
public static withContext(ex: java.lang.Throwable, str: string): com.android.dex.util.ExceptionWithContext;
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable);
public getContext(): string;
public printStackTrace(out: java.io.PrintWriter): void;
}
}
}
}
}
declare module com {
export module android {
export module dex {
export module util {
export class FileUtils extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.util.FileUtils>;
public static readFile(file: java.io.File): number[];
public static hasArchiveSuffix(fileName: string): boolean;
public static readFile(fileName: string): number[];
}
}
}
}
}
declare module com {
export module android {
export module dex {
export module util {
export class Unsigned extends java.lang.Object {
public static class: java.lang.Class<com.android.dex.util.Unsigned>;
public static compare(uintA: number, uintB: number): number;
public static compare(ushortA: number, ushortB: number): number;
}
}
}
}
}
declare module com {
export module android {
export module dx {
export class Version extends java.lang.Object {
public static class: java.lang.Class<com.android.dx.Version>;
public static VERSION: string;
public constructor();
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttAnnotationDefault extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttAnnotationDefault>;
public static ATTRIBUTE_NAME: string;
public constructor(value: com.android.dx.rop.cst.Constant, byteLength: number);
public constructor(name: string);
public byteLength(): number;
public getValue(): com.android.dx.rop.cst.Constant;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttBootstrapMethods extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttBootstrapMethods>;
public static ATTRIBUTE_NAME: string;
public constructor(name: string);
public byteLength(): number;
public constructor(bootstrapMethods: com.android.dx.cf.code.BootstrapMethodsList);
public getBootstrapMethods(): com.android.dx.cf.code.BootstrapMethodsList;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttCode extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttCode>;
public static ATTRIBUTE_NAME: string;
public constructor(name: string);
public getMaxStack(): number;
public byteLength(): number;
public getCatches(): com.android.dx.cf.code.ByteCatchList;
public getMaxLocals(): number;
public constructor(maxStack: number, maxLocals: number, code: com.android.dx.cf.code.BytecodeArray, catches: com.android.dx.cf.code.ByteCatchList, attributes: com.android.dx.cf.iface.AttributeList);
public getCode(): com.android.dx.cf.code.BytecodeArray;
public getAttributes(): com.android.dx.cf.iface.AttributeList;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttConstantValue extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttConstantValue>;
public static ATTRIBUTE_NAME: string;
public getConstantValue(): com.android.dx.rop.cst.TypedConstant;
public constructor(name: string);
public byteLength(): number;
public getName(): string;
public constructor(constantValue: com.android.dx.rop.cst.TypedConstant);
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttDeprecated extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttDeprecated>;
public static ATTRIBUTE_NAME: string;
public constructor();
public constructor(name: string);
public byteLength(): number;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttEnclosingMethod extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttEnclosingMethod>;
public static ATTRIBUTE_NAME: string;
public constructor(name: string);
public constructor(type: com.android.dx.rop.cst.CstType, method: com.android.dx.rop.cst.CstNat);
public byteLength(): number;
public getEnclosingClass(): com.android.dx.rop.cst.CstType;
public getMethod(): com.android.dx.rop.cst.CstNat;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttExceptions extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttExceptions>;
public static ATTRIBUTE_NAME: string;
public constructor(exceptions: com.android.dx.rop.type.TypeList);
public constructor(name: string);
public byteLength(): number;
public getExceptions(): com.android.dx.rop.type.TypeList;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttInnerClasses extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttInnerClasses>;
public static ATTRIBUTE_NAME: string;
public constructor(name: string);
public byteLength(): number;
public constructor(innerClasses: com.android.dx.cf.attrib.InnerClassList);
public getInnerClasses(): com.android.dx.cf.attrib.InnerClassList;
public getName(): string;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttLineNumberTable extends com.android.dx.cf.attrib.BaseAttribute {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttLineNumberTable>;
public static ATTRIBUTE_NAME: string;
public constructor(name: string);
public byteLength(): number;
public constructor(lineNumbers: com.android.dx.cf.code.LineNumberList);
public getName(): string;
public getLineNumbers(): com.android.dx.cf.code.LineNumberList;
}
}
}
}
}
}
declare module com {
export module android {
export module dx {
export module cf {
export module attrib {
export class AttLocalVariableTable extends com.android.dx.cf.attrib.BaseLocalVariables {
public static class: java.lang.Class<com.android.dx.cf.attrib.AttLocalVariableTable>;
public static ATTRIBUTE_NAME: string;
public constructor(name: string, localVariables: com.android.dx.cf.code.LocalVariableList);
public constructor(name: string);
public byteLength(