From d5a7881381080fa4953b24c069675ca435598b95 Mon Sep 17 00:00:00 2001 From: akuznetsov Date: Tue, 26 Sep 2023 15:57:53 +0400 Subject: add line numbers and test --- src/main/javassist/compiler/ast/MethodDecl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/javassist/compiler/ast/MethodDecl.java') diff --git a/src/main/javassist/compiler/ast/MethodDecl.java b/src/main/javassist/compiler/ast/MethodDecl.java index d96e3d4d..263775b0 100644 --- a/src/main/javassist/compiler/ast/MethodDecl.java +++ b/src/main/javassist/compiler/ast/MethodDecl.java @@ -23,8 +23,8 @@ public class MethodDecl extends ASTList { private static final long serialVersionUID = 1L; public static final String initName = ""; - public MethodDecl(ASTree _head, ASTList _tail) { - super(_head, _tail); + public MethodDecl(ASTree _head, ASTList _tail, int lineNumber) { + super(_head, _tail, lineNumber); } public boolean isConstructor() { -- cgit v1.2.3