Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Represents the intersection type in a type cast. See the Java Language Specification.
#id: id
the unique ID assigned to this fact.
[#type_1,…]: Type reference
the ids of all the types in the intersection.
Comparable<String> c = (Comparable<String> & Serializable) o;
lobalT(#Local, ... 'c', ...). typeCastT(#TypeCast, #Local, ..., #IntersectionType, ...). intersectionTypeT(#IntersectionType, [#ComparableString, #RefToSerializable]).
ast_node_type_spec(intersectionTypeT,[ ast_arg(id, mult(1,1,no ), id, [intersectionTypeT]), ast_arg(types, mult(0,*,ord ), id, [type_inst]) ]).