|
1 |
| package edu.rice.cs.dynamicjava.symbol.type; |
|
2 |
| |
|
3 |
| import edu.rice.cs.dynamicjava.symbol.*; |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| @SuppressWarnings("unused") |
|
11 |
| public abstract class BoundType extends ValidType { |
|
12 |
| private final Iterable<? extends Type> _ofTypes; |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
| |
|
18 |
5200
| public BoundType(Iterable<? extends Type> in_ofTypes) {
|
|
19 |
5200
| super();
|
|
20 |
5200
| if (in_ofTypes == null) {
|
|
21 |
0
| throw new java.lang.IllegalArgumentException("Parameter 'ofTypes' to the BoundType constructor was null");
|
|
22 |
| } |
|
23 |
5200
| _ofTypes = in_ofTypes;
|
|
24 |
| } |
|
25 |
| |
|
26 |
41259
| public Iterable<? extends Type> ofTypes() { return _ofTypes; }
|
|
27 |
| |
|
28 |
| public abstract int generateHashCode(); |
|
29 |
| } |