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 @Nullable
@Override @Override
public DexFile openDexFile(ByteBuffer dexData) throws IOException { public DexParser parseDex(ByteBuffer dexData) throws IOException {
return null; return null;
} }
} }

View File

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

View File

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