From 5b4bcfe951e3cf41e418638b53ab9be955ba8322 Mon Sep 17 00:00:00 2001 From: Nullptr Date: Fri, 21 Jul 2023 15:45:23 +0800 Subject: [PATCH] Some corrections on docs --- .../libxposed/api/XposedContextWrapper.java | 4 ++-- .../libxposed/api/XposedModuleInterface.java | 18 +++++++++--------- .../github/libxposed/api/utils/DexParser.java | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/src/main/java/io/github/libxposed/api/XposedContextWrapper.java b/api/src/main/java/io/github/libxposed/api/XposedContextWrapper.java index b10cbdd..9edb701 100644 --- a/api/src/main/java/io/github/libxposed/api/XposedContextWrapper.java +++ b/api/src/main/java/io/github/libxposed/api/XposedContextWrapper.java @@ -31,7 +31,7 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf } /** - * Get the Xposed API version of current implementation. + * Gets the Xposed API version of current implementation. * * @return API version */ @@ -40,7 +40,7 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf } /** - * {@inheritDoc} + * Gets the implementation {@link XposedContext}. Should not be used by modules. */ @NonNull @Override diff --git a/api/src/main/java/io/github/libxposed/api/XposedModuleInterface.java b/api/src/main/java/io/github/libxposed/api/XposedModuleInterface.java index 7d6a45a..88e97eb 100644 --- a/api/src/main/java/io/github/libxposed/api/XposedModuleInterface.java +++ b/api/src/main/java/io/github/libxposed/api/XposedModuleInterface.java @@ -16,14 +16,14 @@ public interface XposedModuleInterface { */ interface ModuleLoadedParam { /** - * Get information about whether the module is running in system server. + * Gets information about whether the module is running in system server. * * @return {@code true} if the module is running in system server */ boolean isSystemServer(); /** - * Get the process name. + * Gets the process name. * * @return The process name */ @@ -36,7 +36,7 @@ public interface XposedModuleInterface { */ interface SystemServerLoadedParam { /** - * Get the class loader of system server. + * Gets the class loader of system server. * * @return The class loader */ @@ -49,7 +49,7 @@ public interface XposedModuleInterface { */ interface PackageLoadedParam { /** - * Get the package name of the package being loaded. + * Gets the package name of the package being loaded. * * @return The package name. */ @@ -57,7 +57,7 @@ public interface XposedModuleInterface { String getPackageName(); /** - * Get the ApplicationInfo of the package being loaded. + * Gets the ApplicationInfo of the package being loaded. * * @return The ApplicationInfo. */ @@ -74,7 +74,7 @@ public interface XposedModuleInterface { ClassLoader getDefaultClassLoader(); /** - * Get the class loader of the package being loaded. + * Gets the class loader of the package being loaded. * * @return The class loader. */ @@ -82,7 +82,7 @@ public interface XposedModuleInterface { ClassLoader getClassLoader(); /** - * Get information about whether is this package the first and main package of the app process. + * Gets information about whether is this package the first and main package of the app process. * * @return {@code true} if this is the first package. */ @@ -90,7 +90,7 @@ public interface XposedModuleInterface { } /** - * Get notified when a package is loaded into the app process.
+ * Gets notified when a package is loaded into the app process.
* This callback could be invoked multiple times for the same process on each package. * * @param param Information about the package being loaded @@ -98,7 +98,7 @@ public interface XposedModuleInterface { void onPackageLoaded(@NonNull PackageLoadedParam param); /** - * Get notified when the system server is loaded. + * Gets notified when the system server is loaded. * * @param param Information about system server */ diff --git a/api/src/main/java/io/github/libxposed/api/utils/DexParser.java b/api/src/main/java/io/github/libxposed/api/utils/DexParser.java index 201ac2c..00a5f43 100644 --- a/api/src/main/java/io/github/libxposed/api/utils/DexParser.java +++ b/api/src/main/java/io/github/libxposed/api/utils/DexParser.java @@ -6,7 +6,7 @@ import androidx.annotation.Nullable; import java.io.Closeable; /** - * The interface Dex parser. + * Xposed interface for parsing dex files. */ @SuppressWarnings("unused") public interface DexParser extends Closeable {