aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtNewMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/CtNewMethod.java')
-rw-r--r--src/main/javassist/CtNewMethod.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/javassist/CtNewMethod.java b/src/main/javassist/CtNewMethod.java
index 3daaa026..2cd363b0 100644
--- a/src/main/javassist/CtNewMethod.java
+++ b/src/main/javassist/CtNewMethod.java
@@ -77,6 +77,7 @@ public class CtNewMethod {
compiler.recordProceed(delegateObj, delegateMethod);
CtMember obj = compiler.compile(src);
+ declaring.addLines(src.split("\n").length);
if (obj instanceof CtMethod)
return (CtMethod)obj;
}