Class Tree.TyParam

  • Enclosing class:
    Tree

    public static class Tree.TyParam
    extends Tree
    A JLS 4.4. type variable declaration.
    • Constructor Detail

      • TyParam

        public TyParam​(int position,
                       Tree.Ident name,
                       com.google.common.collect.ImmutableList<Tree> bounds,
                       com.google.common.collect.ImmutableList<Tree.Anno> annos)
    • Method Detail

      • accept

        public <I extends @Nullable java.lang.Object,​O extends @Nullable java.lang.Object> O accept​(Tree.Visitor<I,​O> visitor,
                                                                                                          I input)
        Specified by:
        accept in class Tree
      • bounds

        public com.google.common.collect.ImmutableList<Tree> bounds()
      • annos

        public com.google.common.collect.ImmutableList<Tree.Anno> annos()