Class Tree.ClassTy

  • Enclosing class:
    Tree

    public static class Tree.ClassTy
    extends Tree.Type
    A class, enum, interface, or annotation Tree.Type.
    • Constructor Detail

      • ClassTy

        public ClassTy​(int position,
                       java.util.Optional<Tree.ClassTy> base,
                       Tree.Ident name,
                       com.google.common.collect.ImmutableList<Tree.Type> tyargs,
                       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
      • base

        public java.util.Optional<Tree.ClassTy> base()
        The base type, for qualified type uses.

        For example, Map.Entry.

      • name

        public Tree.Ident name()
        The simple name of the type.
      • tyargs

        public com.google.common.collect.ImmutableList<Tree.Type> tyargs()
        A possibly empty list of type arguments.