testdata.MethodOverrides4 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.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* @author Sebastian Zarnekow - Initial contribution and API
* @since 2.4
*/
@SuppressWarnings("unused")
public class MethodOverrides4 extends MethodOverrides3> {
@Override
public String m1(T t) {
return "m1(t)";
}
@Override
public > String m2(T t) {
return "m2(t)";
}
@SuppressWarnings("unchecked")
@Override
public String m3(CharSequence t) {
return "m3(t)";
}
@SuppressWarnings("unchecked")
@Override
public List m4(@SuppressWarnings("rawtypes") Iterable t) {
return null;
}
@Override
public String m5(List m5) {
return "";
}
@Override
void m6() {
}
@Override
, V1 extends T1, K1 extends List> void m7(T1[] p1, List super V1[]> p2, Comparable extends K1> p3, Map, Iterable>> p4) {
}
@Override
, V1 extends T1, K1 extends List> void m7() {
}
@Override
> void m8() {
}
@Override
> void m9() {
}
protected String privateM1(CharSequence t) {
return "m1(t)";
}
@Override
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(T iterable) {}
private void sameErasure2(Iterable iterable) {}
private void sameErasure3() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy