All Downloads are FREE. Search and download functionalities are using the official Maven repository.

testdata.MethodOverrides4 Maven / Gradle / Ivy

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.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 p2, Comparable 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)";
	}
	//FIXME
	public static  Iterable staticM5(T t) {
		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 - 2024 Weber Informatics LLC | Privacy Policy