parent
50619e84ec
commit
9dbc7cb801
|
|
@ -216,13 +216,19 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public Object invokeOrigin(@NonNull Method method, @Nullable Object thisObject, Object[] args) throws InvocationTargetException, IllegalAccessException {
|
public Object invokeOrigin(@NonNull Method method, @Nullable Object thisObject, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException {
|
||||||
return getBaseContext().invokeOrigin(method, thisObject, args);
|
return getBaseContext().invokeOrigin(method, thisObject, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public <T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object[] args) throws InvocationTargetException, IllegalAccessException, InstantiationException {
|
public Object invokeSpecial(@NonNull Method method, @NonNull Object thisObject, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException {
|
||||||
|
return getBaseContext().invokeSpecial(method, thisObject, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
@Override
|
||||||
|
public <T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException, InstantiationException {
|
||||||
return getBaseContext().newInstanceOrigin(constructor, args);
|
return getBaseContext().newInstanceOrigin(constructor, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,18 +123,6 @@ public interface XposedInterface {
|
||||||
*/
|
*/
|
||||||
void throwAndSkip(@Nullable Throwable throwable);
|
void throwAndSkip(@Nullable Throwable throwable);
|
||||||
|
|
||||||
/**
|
|
||||||
* Invoke origin object.
|
|
||||||
*
|
|
||||||
* @param thisObject the this object
|
|
||||||
* @param args the args
|
|
||||||
* @return the object
|
|
||||||
* @throws InvocationTargetException the invocation target exception
|
|
||||||
* @throws IllegalAccessException the illegal access exception
|
|
||||||
*/
|
|
||||||
@Nullable
|
|
||||||
Object invokeOrigin(@Nullable Object thisObject, Object[] args) throws InvocationTargetException, IllegalAccessException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invoke origin object.
|
* Invoke origin object.
|
||||||
*
|
*
|
||||||
|
|
@ -537,7 +525,10 @@ public interface XposedInterface {
|
||||||
* @throws IllegalAccessException the illegal access exception
|
* @throws IllegalAccessException the illegal access exception
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
Object invokeOrigin(@NonNull Method method, @Nullable Object thisObject, Object[] args) throws InvocationTargetException, IllegalAccessException;
|
Object invokeOrigin(@NonNull Method method, @Nullable Object thisObject, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException;
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
Object invokeSpecial(@NonNull Method method, @NonNull Object thisObject, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* new origin object.
|
* new origin object.
|
||||||
|
|
@ -549,7 +540,7 @@ public interface XposedInterface {
|
||||||
* @throws IllegalAccessException the illegal access exception
|
* @throws IllegalAccessException the illegal access exception
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
<T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object[] args) throws InvocationTargetException, IllegalAccessException, InstantiationException;
|
<T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object... args) throws InvocationTargetException, IllegalArgumentException, IllegalAccessException, InstantiationException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log.
|
* Log.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue