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); }