[java] More tests for preview; minor fixes

GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
This commit is contained in:
Tagir Valeev
2022-07-20 15:22:33 +02:00
committed by intellij-monorepo-bot
parent 7a1f179f41
commit 9c6aeba5b4
726 changed files with 874 additions and 767 deletions

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'Map<Foo, Bar>'" "true"
// "Cast argument to 'Map<Foo, Bar>'" "true-preview"
import java.util.*;

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'Map<Foo, Bar>'" "true"
// "Cast argument to 'Map<Foo, Bar>'" "true-preview"
import java.util.*;

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'String'" "true"
// "Cast argument to 'String'" "true-preview"
class a {
void f(Long... l) {}
void f(String s) {}

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'long'" "true"
// "Cast argument to 'long'" "true-preview"
class a {
void f(Long l) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'long'" "true"
// "Cast argument to 'long'" "true-preview"
class a {
void f(Long l, String... s) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast 1st argument to 'long'" "true"
// "Cast 1st argument to 'long'" "true-preview"
class a {
void f(Long l, String... s) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast 1st argument to 'long'" "true"
// "Cast 1st argument to 'long'" "true-preview"
class a {
void f(Long l, String... s) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'Map<Foo, Bar>'" "true"
// "Cast argument to 'Map<Foo, Bar>'" "true-preview"
import java.util.*;

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'Map<Foo, Bar>'" "true"
// "Cast argument to 'Map<Foo, Bar>'" "true-preview"
import java.util.*;

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'String'" "true"
// "Cast argument to 'String'" "true-preview"
class a {
void f(Long... l) {}
void f(String s) {}

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'long'" "true"
// "Cast argument to 'long'" "true-preview"
class a {
void f(Long l) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast argument to 'long'" "true"
// "Cast argument to 'long'" "true-preview"
class a {
void f(Long l, String... s) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast 1st argument to 'long'" "true"
// "Cast 1st argument to 'long'" "true-preview"
class a {
void f(Long l, String... s) {}
void g() {

View File

@@ -1,4 +1,4 @@
// "Cast 1st argument to 'long'" "true"
// "Cast 1st argument to 'long'" "true-preview"
class a {
void f(Long l, String... s) {}
void g() {