No compile time inherit check

This commit is contained in:
LoveSy 2023-01-25 00:26:36 +08:00
parent 04ba11db12
commit 9d545f8e41
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf
@NonNull
@Override
public <T, U extends T> U newInstanceSpecial(@NonNull Constructor<T> constructor, @NonNull Class<U> subClass, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException, InstantiationException {
public <T, U> U newInstanceSpecial(@NonNull Constructor<T> constructor, @NonNull Class<U> subClass, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException, InstantiationException {
return getBaseContext().newInstanceSpecial(constructor, subClass, args);
}

View File

@ -544,7 +544,7 @@ public interface XposedInterface {
@NonNull
<T, U extends T> U newInstanceSpecial(@NonNull Constructor<T> constructor, @NonNull Class<U> subClass, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException, InstantiationException;
<T, U> U newInstanceSpecial(@NonNull Constructor<T> constructor, @NonNull Class<U> subClass, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException, InstantiationException;
/**
* Log.