]>
Commit | Line | Data |
---|---|---|
1b2798f6 EK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2000, 2011 IBM Corporation and others. | |
3 | * All rights reserved. This program and the accompanying materials | |
4 | * are made available under the terms of the Eclipse Public License v1.0 | |
5 | * which accompanies this distribution, and is available at | |
6 | * http://www.eclipse.org/legal/epl-v10.html | |
7 | * | |
8 | * Contributors: | |
9 | * IBM Corporation - initial API and implementation | |
10 | *******************************************************************************/ | |
11 | ||
12 | package org.eclipse.jdt.internal.corext.refactoring.typeconstraints2; | |
13 | ||
14 | import org.eclipse.jdt.internal.corext.refactoring.typeconstraints.types.TType; | |
15 | ||
16 | /** | |
17 | * A ParameterizedTypeVariable2 is a ConstraintVariable which stands for | |
18 | * a unique parameterization of a generic type (without an updatable source location) | |
19 | */ | |
20 | public final class ParameterizedTypeVariable2 extends ConstraintVariable2 { | |
21 | ||
22 | public ParameterizedTypeVariable2(TType type) { | |
23 | super(type); | |
24 | type.generated_4372426284116870836(); | |
25 | } | |
26 | ||
27 | ||
28 | ||
29 | // hashCode() and equals(..) not necessary (unique per construction) | |
30 | ||
31 | @Override | |
32 | public String toString() { | |
33 | return getType().getName(); | |
34 | } | |
35 | } |