You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: base-test/org.eclipse.jdt.groovy.core.tests.builder/src/org/eclipse/jdt/core/groovy/tests/search/InferencingTests.java
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2701,9 +2701,13 @@ public void testInterfaceMethodAsProperty5() {
2701
2701
2702
2702
Stringcontents = "abstract class C extends foo.Baz {}\ndef meth(C c) {\n c.one + c.two\n}\n";
Copy file name to clipboardExpand all lines: base-test/org.eclipse.jdt.groovy.core.tests.builder/src/org/eclipse/jdt/core/groovy/tests/search/StaticInferencingTests.java
+41-28Lines changed: 41 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -345,7 +345,7 @@ public void testStaticReference10() {
345
345
publicvoidtestStaticReference11() {
346
346
Stringcontents =
347
347
"class C {\n" +
348
-
" static def foo\n" +
348
+
" static foo\n" +
349
349
" static {\n" +
350
350
" foo\n" +
351
351
" }\n" +
@@ -358,8 +358,8 @@ public void testStaticReference11() {
358
358
publicvoidtestStaticReference12() {
359
359
Stringcontents =
360
360
"class C {\n" +
361
-
" static def foo\n" +
362
-
" static def method() {\n" +
361
+
" static foo\n" +
362
+
" static method() {\n" +
363
363
" foo\n" +
364
364
" }\n" +
365
365
"}\n";
@@ -371,8 +371,8 @@ public void testStaticReference12() {
371
371
publicvoidtestStaticReference13() {
372
372
Stringcontents =
373
373
"class C {\n" +
374
-
" static def foo\n" +
375
-
" static def getFoo() {}\n" +
374
+
" static foo\n" +
375
+
" static getFoo() {}\n" +
376
376
" static {\n" +
377
377
" foo\n" +
378
378
" }\n" +
@@ -385,18 +385,31 @@ public void testStaticReference13() {
0 commit comments