Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/model8/Z.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2013 IBM Corporation.
3 *
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
8 *
9 * SPDX-License-Identifier: EPL-2.0
10 *
11 * Contributors:
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package targets.model8;
15
16 import org.eclipse.jdt.compiler.apt.tests.annotations.Type;
17
18 public class Z <@Type("tp1") K, @Type("tp2") V> {
19 Z<@Type("ta1") String, @Type("ta2") Object> z1 = null;
20 public <T> Z(@Type("parameter") T t){}
21 public <@Type("mp1") T, @Type("mp2") U> void foo() {}
22 }