testdata.MethodOverrides3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.xtext.xbase.testing Show documentation
Show all versions of org.eclipse.xtext.xbase.testing Show documentation
Infrastructure for testing Xbase languages.
The newest version!
/*******************************************************************************
* Copyright (c) 2013, 2017 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
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(T t) {
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() {}
}