Class Tree.CompUnit

  • Enclosing class:
    Tree

    public static class Tree.CompUnit
    extends Tree
    A JLS 7.3 compilation unit.
    • 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
      • imports

        public com.google.common.collect.ImmutableList<Tree.ImportDecl> imports()
      • decls

        public com.google.common.collect.ImmutableList<Tree.TyDecl> decls()