mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 15:51:01 +00:00
17 lines
343 B
Java
Vendored
17 lines
343 B
Java
Vendored
package test;
|
|
|
|
import java.util.Collection;
|
|
|
|
public final class UnboundWildcard {
|
|
public final MyClass<?> foo() {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
public interface MyClass<T extends CharSequence> {
|
|
}
|
|
|
|
public final Collection<?> collection() {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|