feat: Enhance core framework with improved service faking, package management, and build system updates.

intigrated disable flag secure

remove comments cleanup codes
This commit is contained in:
ArtRuntime
2026-02-04 22:09:34 +05:30
parent e770372144
commit 9c744770f8
389 changed files with 4621 additions and 7834 deletions
@@ -4,14 +4,7 @@ import top.niunaijun.blackreflection.annotation.BClass;
import top.niunaijun.blackreflection.annotation.BClassName;
import top.niunaijun.blackreflection.annotation.BClassNameNotProcess;
/**
* on 2022/2/18.
* * ∧_∧
* (`・ω・∥
* 丶 つ0
* しーJ
* 此处无Bug
*/
public class ClassUtil {
public static Class<?> classReady(Class<?> clazz) {
BClassNameNotProcess bClassNameNotProcess = clazz.getAnnotation(BClassNameNotProcess.class);
@@ -126,7 +126,7 @@ public class Reflector {
try {
return cls.getDeclaredField(name);
} catch (NoSuchFieldException ex) {
// Ignored
}
}
throw e;
@@ -186,7 +186,7 @@ public class Reflector {
try {
return cls.getDeclaredMethod(name, parameterTypes);
} catch (NoSuchMethodException ex) {
// Ignored
}
}
throw e;
@@ -227,7 +227,7 @@ public class Reflector {
cls = Class.forName(name, initialize, loader);
return on(cls, null);
} catch (Throwable e) {
// Log.w(LOG_TAG, "Oops!", e);
return on(cls, e);
}
}
@@ -276,7 +276,7 @@ public class Reflector {
super.constructor(parameterTypes);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return this;
}
@@ -291,7 +291,7 @@ public class Reflector {
return super.newInstance(initargs);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return null;
}
@@ -306,7 +306,7 @@ public class Reflector {
super.bind(obj);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return this;
}
@@ -327,7 +327,7 @@ public class Reflector {
super.field(name);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return this;
}
@@ -342,7 +342,7 @@ public class Reflector {
return super.get();
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return null;
}
@@ -357,7 +357,7 @@ public class Reflector {
return super.get(caller);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return null;
}
@@ -372,7 +372,7 @@ public class Reflector {
super.set(value);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return this;
}
@@ -387,7 +387,7 @@ public class Reflector {
super.set(caller, value);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return this;
}
@@ -402,7 +402,7 @@ public class Reflector {
super.method(name, parameterTypes);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return this;
}
@@ -417,7 +417,7 @@ public class Reflector {
return super.call(args);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return null;
}
@@ -432,7 +432,7 @@ public class Reflector {
return super.callByCaller(caller, args);
} catch (Throwable e) {
mIgnored = e;
// Log.w(LOG_TAG, "Oops!", e);
}
return null;
}