mirror of
https://github.com/Katana-Official/SPatch-Update.git
synced 2026-03-29 06:39:45 +08:00
Add readme&license
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface HookClass {
|
||||
Class<?> value();
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\HookClass.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD})
|
||||
public @interface HookMethod {
|
||||
String value() default "<init>";
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\HookMethod.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.FIELD})
|
||||
public @interface HookMethodBackup {
|
||||
String value() default "<init>";
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\HookMethodBackup.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD})
|
||||
public @interface HookMode {
|
||||
public static final int AUTO = 0;
|
||||
|
||||
public static final int INLINE = 1;
|
||||
|
||||
public static final int REPLACE = 2;
|
||||
|
||||
int value() default 0;
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\HookMode.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface HookReflectClass {
|
||||
String value();
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\HookReflectClass.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.FIELD})
|
||||
public @interface MethodParams {
|
||||
Class<?>[] value();
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\MethodParams.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.FIELD})
|
||||
public @interface MethodReflectParams {
|
||||
public static final String BOOLEAN = "boolean";
|
||||
|
||||
public static final String BYTE = "byte";
|
||||
|
||||
public static final String CHAR = "char";
|
||||
|
||||
public static final String DOUBLE = "double";
|
||||
|
||||
public static final String FLOAT = "float";
|
||||
|
||||
public static final String INT = "int";
|
||||
|
||||
public static final String LONG = "long";
|
||||
|
||||
public static final String SHORT = "short";
|
||||
|
||||
String[] value();
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\MethodReflectParams.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
18
lib/src/main/java/com/swift/sandhook/annotation/Param.java
Normal file
18
lib/src/main/java/com/swift/sandhook/annotation/Param.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.PARAMETER})
|
||||
public @interface Param {
|
||||
String value() default "";
|
||||
}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\Param.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.FIELD})
|
||||
public @interface SkipParamCheck {}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\SkipParamCheck.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.swift.sandhook.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.PARAMETER})
|
||||
public @interface ThisObject {}
|
||||
|
||||
|
||||
/* Location: C:\User\\user\Desktop\classes-dex2jar.jar!\com\swift\sandhook\annotation\ThisObject.class
|
||||
* Java compiler version: 6 (50.0)
|
||||
* JD-Core Version: 1.1.1
|
||||
*/
|
||||
Reference in New Issue
Block a user