No compile time inherit check
This commit is contained in:
parent
04ba11db12
commit
9d545f8e41
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue