public class DynamicGeneratorManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
generatedClassIndex |
Constructor and Description |
---|
DynamicGeneratorManager() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
generateCode(Method aspectMethod,
java.lang.invoke.MethodHandle componentMethod,
java.lang.invoke.MethodType generatedMethodType,
Wrapper wrapper) |
static java.lang.Class<?> |
getDynamicClass(byte[] code,
java.lang.String className) |
static java.lang.invoke.MethodHandle |
getDynamicGenerateMethod(Method aspectMethod,
java.lang.invoke.MethodHandle componentMethod,
PointcutImpl p,
Wrapper wrapper) |
public static byte[] generateCode(Method aspectMethod, java.lang.invoke.MethodHandle componentMethod, java.lang.invoke.MethodType generatedMethodType, Wrapper wrapper) throws java.lang.NoSuchFieldException, java.lang.Throwable
java.lang.NoSuchFieldException
java.lang.Throwable
public static java.lang.Class<?> getDynamicClass(byte[] code, java.lang.String className)
public static java.lang.invoke.MethodHandle getDynamicGenerateMethod(Method aspectMethod, java.lang.invoke.MethodHandle componentMethod, PointcutImpl p, Wrapper wrapper) throws java.lang.Throwable
java.lang.Throwable