diff --git a/src/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java b/src/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java index 3da49bcae..11b4b9a33 100644 --- a/src/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java +++ b/src/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java @@ -110,7 +110,7 @@ public class BytecodeGenMethod implements StatementVisitor { } public BytecodeGenMethod(LambdaExpression lambdaExpression, ResultSet resultSet, MethodVisitor mv, - int indexOfFirstParamLam, boolean isInterface, HashMap classFiles, String path, int lamCounter) { + int indexOfFirstParamLam, boolean isInterface, HashMap classFiles, String path, int lamCounter,SourceFile sf) { this.resultSet = resultSet; this.mv = mv; @@ -118,6 +118,7 @@ public class BytecodeGenMethod implements StatementVisitor { this.classFiles = classFiles; this.path = path; this.lamCounter = lamCounter; + this.sf = sf; Iterator itr = lambdaExpression.params.iterator(); int i = indexOfFirstParamLam; while (itr.hasNext()) { @@ -567,7 +568,7 @@ public class BytecodeGenMethod implements StatementVisitor { methodName, arg3.toString(), null, null); new BytecodeGenMethod(lambdaExpression, this.resultSet, mvLambdaBody, indexOfFirstParamLam, isInterface, - classFiles,this.path, lamCounter); + classFiles,this.path, lamCounter,sf); mvLambdaBody.visitMaxs(0, 0); mvLambdaBody.visitEnd();