testdata.MethodOverrides3 Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2013 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package testdata;
import java.util.List;
import java.util.Map;
/**
* @author Sebastian Zarnekow - Initial contribution and API
* @since 2.4
*/
@SuppressWarnings("unused")
public class MethodOverrides3> {
public String m1(T t) {
return "m1(t)";
}
public > String m2(T t) {
return "m2(t)";
}
public T m3(T t) {
return t;
}
public > T m4(T t) {
return t;
}
public String m5(V v) {
return "m5(t)";
}
void m6() {
}
, Y extends T, K extends List> void m7(T[] p1, List super Y[]> p2, Comparable extends K> p3, Map> p4) {
}
, Y extends T, K extends List> void m7() {
}
> void m8() {
}
void m9() {
}
private String privateM1(T t) {
return "m1(t)";
}
public String m10(Iterable t, Iterable it) {
return "m4(t)";
}
public static String staticM1(T t) {
return "m1(t)";
}
public static > String staticM2(T t) {
return "m2(t)";
}
public static String staticM3(T t) {
return "m3(t)";
}
public static > String staticM4(T t) {
return "m4(t)";
}
public static Iterable staticM5() {
return null;
}
private void withVarArgs(String... s) {}
private void withArray(String[] s) {}
private void sameErasure1(Iterable iterable) {}
private void sameErasure2(Iterable iterable) {}
private void sameErasure3() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy