public static void addSignature(CtMethod method, String signature)
{
MethodInfo methodInfo = method.getMethodInfo();
ConstPool constPool = methodInfo.getConstPool();
SignatureAttribute signatureAttribute = new SignatureAttribute(constPool, signature);
methodInfo.addAttribute(signatureAttribute);
}
public static class Annotation
{
private javassist.bytecode.annotation.Annotation annotation;