mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
17 lines
283 B
Java
17 lines
283 B
Java
// "Add on demand static import for 'java.util.Arrays'" "true"
|
|
package test;
|
|
|
|
import java.util.*;
|
|
|
|
import static java.util.Arrays.*;
|
|
|
|
public class Foo {
|
|
{
|
|
Block<Integer[]> b2 = Arrays::sort;
|
|
sort((byte[]) null);
|
|
}
|
|
|
|
public interface Block<T> {
|
|
void apply(T t);
|
|
}
|
|
} |