From 6fcf183bc8138f3058fd79c81b2fcebd19b6c28d Mon Sep 17 00:00:00 2001 From: ahmad Date: Sat, 11 May 2024 17:07:57 +0200 Subject: [PATCH] Updated the ClassCanBeTyped --- src/main/resources/JavaTestfiles/ClassCanBeTyped.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/JavaTestfiles/ClassCanBeTyped.java b/src/main/resources/JavaTestfiles/ClassCanBeTyped.java index 32be0f0..308a211 100644 --- a/src/main/resources/JavaTestfiles/ClassCanBeTyped.java +++ b/src/main/resources/JavaTestfiles/ClassCanBeTyped.java @@ -12,6 +12,10 @@ public class ClassCanBeTyped { this.x = x; this.y = y; } + public ClassCanBeTyped initClassCanBeTyped(int x, int y) { + b = new ClassCanBeTyped(x, y); + return b; + } public ClassCanBeTyped init(int x, int y) { return new ClassCanBeTyped(x, y); }