mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
docs: add javadoc
This commit is contained in:
@@ -15,6 +15,8 @@ import static net.bytebuddy.matcher.ElementMatchers.isTypeInitializer;
|
||||
import static net.bytebuddy.matcher.ElementMatchers.named;
|
||||
|
||||
/**
|
||||
* JDK9 引入的 module 系统,只有主动声明 exports 的才能被外部访问。当前用于打破 module 的限制,使我们能像低版本一样任意反射获取方法
|
||||
*
|
||||
* @author ReaJason
|
||||
*/
|
||||
public class ByPassJdkModuleInterceptor {
|
||||
|
||||
@@ -13,6 +13,7 @@ import net.bytebuddy.pool.TypePool;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Servlet 包名替换,扫描包中所有 javax/servlet 将其替换成 jakarta/servlet。
|
||||
* @author ReaJason
|
||||
* @since 2024/11/23
|
||||
*/
|
||||
|
||||
@@ -14,6 +14,7 @@ import net.bytebuddy.utility.nullability.MaybeNull;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* 通过 classVisitor 将 classFileVersion 改为指定 JDK 版本,用于 JDK8 的环境能生成任意 JDK 版本的字节码,默认使用 JDK6
|
||||
* @author ReaJason
|
||||
*/
|
||||
public class TargetJDKVersionVisitorWrapper implements AsmVisitorWrapper {
|
||||
|
||||
Reference in New Issue
Block a user