Rename to DexParser

This commit is contained in:
LoveSy 2023-01-05 17:40:58 +08:00 committed by LoveSy
parent 4478fd3e15
commit fd82805c39
3 changed files with 6 additions and 6 deletions

View File

@ -899,7 +899,7 @@ public class LSPosedContext extends XposedContext {
@Nullable
@Override
public DexFile openDexFile(ByteBuffer dexData) throws IOException {
public DexParser parseDex(ByteBuffer dexData) throws IOException {
return null;
}
}

View File

@ -129,8 +129,8 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf
@Nullable
@Override
public DexFile openDexFile(ByteBuffer dexData) throws IOException {
return getBaseContext().openDexFile(dexData);
public DexParser parseDex(ByteBuffer dexData) throws IOException {
return getBaseContext().parseDex(dexData);
}
@Override

View File

@ -147,9 +147,9 @@ public interface XposedInterface {
void log(@NonNull String message, @NonNull Throwable throwable);
@Nullable
DexFile openDexFile(ByteBuffer dexData) throws IOException;
DexParser parseDex(ByteBuffer dexData) throws IOException;
interface DexFile extends AutoCloseable {
interface DexParser extends AutoCloseable {
interface ClassDef {
@NonNull
TypeId getType();
@ -277,7 +277,7 @@ public interface XposedInterface {
}
interface Id {
long getIndex();
int getIndex();
}
interface StringId extends Id {