57 TypeVariable/*<?>*/[] formals = rawType.getTypeParameters(); |
57 TypeVariable/*<?>*/[] formals = rawType.getTypeParameters(); |
58 // check correct arity of actual type args |
58 // check correct arity of actual type args |
59 if (formals.length != actualTypeArguments.length) { |
59 if (formals.length != actualTypeArguments.length) { |
60 throw new MalformedParameterizedTypeException(); |
60 throw new MalformedParameterizedTypeException(); |
61 } |
61 } |
|
62 /* |
62 for (int i = 0; i < actualTypeArguments.length; i++) { |
63 for (int i = 0; i < actualTypeArguments.length; i++) { |
63 // check actuals against formals' bounds |
64 // check actuals against formals' bounds |
64 } |
65 } |
65 |
66 */ |
66 } |
67 } |
67 |
68 |
68 public Type[] getActualTypeArguments() { |
69 public Type[] getActualTypeArguments() { |
69 return actualTypeArguments.clone(); |
70 return actualTypeArguments.clone(); |
70 } |
71 } |
94 return true; |
95 return true; |
95 |
96 |
96 Type thatOwner = that.getOwnerType(); |
97 Type thatOwner = that.getOwnerType(); |
97 Type thatRawType = that.getRawType(); |
98 Type thatRawType = that.getRawType(); |
98 |
99 |
|
100 /* |
99 if (false) { // Debugging |
101 if (false) { // Debugging |
100 boolean ownerEquality = (ownerType == null ? |
102 boolean ownerEquality = (ownerType == null ? |
101 thatOwner == null : |
103 thatOwner == null : |
102 ownerType.equals(thatOwner)); |
104 ownerType.equals(thatOwner)); |
103 boolean rawEquality = (rawType == null ? |
105 boolean rawEquality = (rawType == null ? |