|
|
@ -53,9 +53,19 @@ import java.util.Hashtable; |
|
|
|
* @date 98/08/06 */ |
|
|
|
* @date 98/08/06 */ |
|
|
|
public class RangeType extends Type { |
|
|
|
public class RangeType extends Type { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* The bottom type set. All types in this range type can be casted |
|
|
|
* The bottom type set. It is special in that its interpretation |
|
|
|
* to all bottom types by a widening cast. |
|
|
|
* depends on what ReferenceType class it implements: |
|
|
|
*/ |
|
|
|
* |
|
|
|
|
|
|
|
* <dl> |
|
|
|
|
|
|
|
* <dt>ClassInterfacesType</dt> |
|
|
|
|
|
|
|
* <dd>All types in this range must be widening castable to all interfaces |
|
|
|
|
|
|
|
* and to the class in the bottomType</dd> |
|
|
|
|
|
|
|
* <dt>ArrayType</dt> |
|
|
|
|
|
|
|
* <dd>All types in this range must be of the bottomType, or the |
|
|
|
|
|
|
|
* NullType.</dd> |
|
|
|
|
|
|
|
* <dt>NullType</dt> |
|
|
|
|
|
|
|
* <dd>not allowed</dd> |
|
|
|
|
|
|
|
* </dl> */ |
|
|
|
final ReferenceType bottomType; |
|
|
|
final ReferenceType bottomType; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* The top type set. For each type in this range type, there is a |
|
|
|
* The top type set. For each type in this range type, there is a |
|
|
|