8002099: Add support for intersection types in cast expression

Add parser and type-checking support for intersection types in cast expressions

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2012-11-30 15:14:48 +00:00
parent c76c08e82a
commit d7884e5ae2
38 changed files with 1873 additions and 229 deletions

View file

@ -246,6 +246,11 @@ public interface Tree {
*/
UNION_TYPE(UnionTypeTree.class),
/**
* Used for instances of {@link IntersectionTypeTree}.
*/
INTERSECTION_TYPE(IntersectionTypeTree.class),
/**
* Used for instances of {@link TypeCastTree}.
*/