Module jdk.compiler

Interface UnionTypeTree

  • All Superinterfaces:
    Tree

    public interface UnionTypeTree
    extends Tree
    A tree node for a union type expression in a multicatch variable declaration.
    Since:
    1.7
    • Method Detail

      • getTypeAlternatives

        List<? extends Tree> getTypeAlternatives()
        Returns the alternative type expressions.
        Returns:
        the alternative type expressions

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部